• Resolved bobjones

    (@bobjones)


    My site recently crashed and when restored to functioning status via backups, showed only html and no css.

    I disabled and restored plugins one by one until I realized the culprit was Autoptimize.

    Everything had worked fine since I first installed the plugin about two months ago, using recommended settings, to improve site speed.

    Any suggestions on which settings would be most likely to cause site loading issues?

    Thanks!

    • This topic was modified 5 years, 7 months ago by bobjones.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    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 … ?

    Thread Starter bobjones

    (@bobjones)

    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!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Good you were able to find the culprit! 🙂

    Thread Starter bobjones

    (@bobjones)

    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.
    Thread Starter bobjones

    (@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.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    that’s nice tuturial, hadn’t seen that yet, thanks! 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Site crashed, loading only html’ is closed to new replies.