• Resolved tsboldly

    (@tsboldly)


    Hi, we’re using LiteSpeed server with our host (Rochen) and the lscache WP plugin on a site which is sitting behind Sucuri’s web application firewall product.

    Despite there being an option in the Sucuri setup to disable their cache (which we have set), they still cache a number of file formats, include JS and CSS files. You can’t switch this off.

    Since we switched on CSS/JS minify in LSCache a couple of weeks ago, we’re finding that our pages are exhibiting the FOUC regularly throughout the day – not all the time, but enough for us to be concerned that something’s not right.

    All LSCache CSS / JS options are ON, so we’re loading async and generating CCSS, but we’ve noticed that the combined CSS / JS files are being served with a x-sucuri-cache: hit in their header, despite there being a cache-control: no-cache in the request. This tallies with what Sucuri say about always caching JS and CSS files.

    The question is, is there anything we can do LSCache-wise to help with this issue?

    I’m not finding a lot on the forums about LSCache + Sucuri, so I’m running out of ideas. Any assistance greatly appreciated!

    • This topic was modified 3 years, 9 months ago by tsboldly.
    • This topic was modified 3 years, 9 months ago by tsboldly.

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

Viewing 16 replies (of 16 total)
  • Thread Starter tsboldly

    (@tsboldly)

    Apologies for the delay circling back on this.

    We have now upgraded to v4.3, and if we switch on Load CSS asynchronously, we are still getting FOUC, so we’ve opted just to leave this option switched off.

Viewing 16 replies (of 16 total)
  • The topic ‘Sucuri firewall and LiteSpeed’ is closed to new replies.