first and foremost clear any caches you might have and if the problem continues disable CSS optimization (and if that doesn’t help JS or HTML or Image optimization).
but more interesting would be what the underlying reason for AO breaking after restoring is; do the files not load with a “404 not found” or do they generate ” “50x internal server error” or … ?
Users had been receiving 504 errors or seeing only slow-loading html.
However, I was able to get the site to function, barely, with just a few Autoptimize options enabled, before remembering (with a prompt from GTMetrix) I’d recently added an .htaccess rewrite rule to route all instances of my home page to https.
Once I removed that rule and reactivated Autoptimize as previously configured, everything returned to normal.
Now I have to lean on my webhost to route the urls properly on the server.
I appreciate the assistance!
Good you were able to find the culprit! 🙂
Webhost routed the urls to https and I’ve cleaned the database and reactivated Autoptimize.
GTMetrix gives me an “F” for “Enable compression” and offers this suggestion:
Compressing https://www.yoursite.org/wp-content/cache/autoptimize/css/autoptimize_617e4825e5be77c292f61037a2a10e3c.css could save 583.4KiB (78% reduction).
Can you recommend any settings to fix this?
Thanks!
-
This reply was modified 5 years, 7 months ago by
bobjones.
-
This reply was modified 5 years, 7 months ago by
bobjones.
Never mind!
Didn’t realize I have to save each Autoptimize settings page as I go.
Going with these recommended settings has improved my GTMetrix score to an “A”.
https://onlinemediamasters.com/autoptimize-settings/
-
This reply was modified 5 years, 7 months ago by
bobjones.
that’s nice tuturial, hadn’t seen that yet, thanks! 🙂