• Resolved l3kilos

    (@l3kilos)


    Hi,

    I’ve been experimenting with improving my site speed by activating/deactivating plugins to see the impact they have on my PageSpeed Insights score. However, I realized that if I turn off Autoptimize, my CSS scripts no longer seem to be loading. If I turn it back on it works fine. This issue became apparent when I cleared my server and CloudFlare caches.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, you seem to be using something else (a plugin?) to load your CSS, cfr. this code;

    <link rel="preload" as="style" onload="!window.__cfRl||__cfRl.r(function(){this.rel='stylesheet'},this)" href="/s/2816e0.css"><noscript><link rel="stylesheet" href="/s/2816e0.css"></noscript>

    so I suppose that’s what’s breaking stuff somehow.

    frank

    Thread Starter l3kilos

    (@l3kilos)

    Hi Frank,

    Thanks for the quick response. Any idea how to go about finding out where that code may be coming from? I’ve tried deactivating most of my plugins, including caching, but still no success..

    Thanks,
    Peter

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    No idea really, haven’t seen code like that before. Maybe a new cloudflare trick? ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Deactivating Autoptimize Prevents CSS from loading’ is closed to new replies.