My site doesn’t load
-
Hi,
I just fixed my error message about “define(‘WP_CACHE’, true);”
https://wordpress.org/support/topic/definewp_cache-true-error-message/page/2/#post-10302527but my site doesn’t load anymore.
When I figured out the error this morning, I still had WP Super Cache installed but deactivated. Since having figured out the error I thought I no longer need WP Super Cache so finally uninstalled it, then I believe my site stopped loading up.
Any idea? Please help.
The page I need help with: [log in to see the link]
-
Hey @sailors,
Hope you’re well.
Sorry to hear that situation. When I check your website I can see the error related Autoptimize plugin. Can you deactivate it and try again?
Cheers,
Oguzpro-tip; you can disable Autoptimize on a per-request basis by adding
?ao_noptimize=1to the URL.if the problem is not there at that point, some autoptimize (re-)configuration might be needed to fix this. there’s more info in the troubleshooting tips and info on exclusions in the AO FAQ.
hope this helps debugging,
frank (ao dev)Thank you guys for your reply.
It looks like Autoptimize plugin is causing the issue, specifically Autoptimize’s Java script code optimization. I just only unchecked that option and my site is working.
However, I need to optimize wp-content/plugins/contact-form-7/includes/js/scripts.js from PageSpeed Insights. Can Hummingbird optimize that?
BTW, I have 410 for WordPress plugin installed. Does it conflict with Hummingbird?
@optimizing Matters, I’m not that technical, need to look into the AO FAQ.
Hi @sailors,
Yes you can navigate to Hummingbird >> Asset Optimization and make sure Compress is turned on for the Contact Form 7 scripts.js file.
410 for WordPress shouldn’t have any conflicts with Hummingbird.
Cheers,
Calum-
This reply was modified 7 years, 11 months ago by
calumbrash.
Hi Calum,
I tried both on and off, cleared cache and still get the same result, don’t know which is on and off, blue or gray? Cuz the tool tip says “Compress” both of them when I mouse hover. Its “Exclude file” should be blue or gray?
I found out that I need to optimize a couple of more js files. If I can upload an image of the setting please let me know how.
Hi @sailors,
Blue is on, and gray is off, we understand that this is confusing so have an update to the UI to fix this coming out soon.
Exclude file will completely stop the file from loading so you don’t want to have that toggle turned on.
You can upload a screenshot to this website https://snag.gy/ and then share the link with me and I can take a look for you.
Also please make sure you are clicking publish changes at the bottom of the page to apply the changes you have made to the files.
Cheers,
Calum-
This reply was modified 7 years, 11 months ago by
calumbrash.
Yes, I clicked on the PUBLISH CHANGES button every time. Here’s an image of my current setting,
All of those four Exclude file toggles should be gray?
Awesome that’s great. Your settings seem fine, no the exclude toggles should stay blue. Again this is a UI fault which will be fixed in an upcoming update.
The toggle turned on (blue) will include the file as normal, turned off (gray) will exclude the file and stop it from loading.After publishing your changes with compress turned on (blue) for wp-content/plugins/contact-form-7/includes/js/scripts.js you will then need to navigate to a page in your site where the file is loaded, this will then start the compression where you can return to the Asset Optimization page, refresh the page until you see this https://snag.gy/iJkIgq.jpg showing that the file has been optimized.
Cheers,
CalumI just logged back in and noticed they look like your image except jquery-migrate.
ATM, I still have the same result. I didn’t do the navigation step that you mentioned.
jquery-migrate wont be compressed because it is already a .min file.
I checked your homepage which is the page the performance report checks and it is serving a cached version of the page with the uncompressed contact-form-7 scripts.js file. Please clear your Hummingbird Page Cache then visit your homepage again then rerun the performance test.
Cheers,
Calumok, I followed your steps and think it’s working now. It disappeared from GPSI.
I see this code,
var wpcf7 = {“apiSettings”:{“root”:”http:\/\/stylusdesign.co.jp\/wp-json\/contact-form-7\/v1″,”namespace”:”contact-form-7\/v1″},”recaptcha”:{“messages”:{“empty”:”\u3042\u306a\u305f\u304c\u30ed\u30dc\u30c3\u30c8\u3067\u306f\u306a\u3044\u3053\u3068\u3092\u8a3c\u660e\u3057\u3066\u304f\u3060\u3055\u3044\u3002″}},”cached”:”1″};Does “cached”:”1″ mean scripts.js has been cached?
Sorry, one more to ask.
I have one more to optimize,
https://fonts.googleapis.com/css?family=Open+Sans%3A300%2C300italic%2C600%2C600italic%7CJosefin+Sans%3A300italic%2C300Should I turn all of these options on in order to optimize?
https://snag.gy/sR9jJT.jpgHello @sailors
About the wpcf7 variable, can’t be sure about the exact meaning of this “cached” argument, better contact support of Contact Form 7 plugin about it.
About fonts coming from Google, you can’t do much, as these files are getting loaded from an external server so can’t be compressed nor combined. You can only change the loading order with the “footer” or “inline” options.
Warm regards,
DimitrisThank you, Dimitris.
I tried different combinations in the Asset Optimization but didn’t get better result so changed Autoptimize setting back to what they were.
-
This reply was modified 7 years, 11 months ago by
The topic ‘My site doesn’t load’ is closed to new replies.