• Resolved DannyG

    (@dannygarcia1971)


    Hi,
    I have the following issue and believe that you have a simple fix for me.
    I have litespeed VPS and I keep LiteSpeed Cache plugin DISABLED while I debug my website. Every time I install a new plugin in WP I activate it, then I refresh the page and I see that this previously activated plugin is disabled now. So I run this command on my server to clean the cache: rm -rf /usr/local/lsws/cachedata/*
    This helps. When I refresh the page I can see that my new WP plugin activated.
    So I’m wondering, is there way to avoid cleaning cache each time on my server when I debug my WP site? I keep LiteSpeed Cache plugin DISABLED but this doesn’t help as the litespeed server requires to clean cache each time I make changes. Any workaround to avoid cleaning cache each time?
    (I will activate LiteSpeed Cache plugin only when my site will be ready to publish live.)
    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    please check Cache -> Purge -> Serve Stale , make sure it is OFF

    Also please make sure if you still see x-litespeed-cache header when you have plugin disabled ?

    Best regards,

    Thread Starter DannyG

    (@dannygarcia1971)

    Yes, I have Serve Stale set to OFF. When I disable the plugin I can’t see x-litespeed-cache header in source code. But somehow litespeed server pushes cache anyway even after the plugin was deactivated. Should I check any settings in the control panel of litespeed server?

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Ah , oh , sorry , I misunderstood it

    yes, whenever you disable plugin , it will purge the cache.

    it was hard-coded that way , so people won’t get stalled cache copy after they disable plugin

    maybe you can set admin user or your IP out of cache , so you don’t need to disable or purge cache to debug the site.

    Best regards,

    Thread Starter DannyG

    (@dannygarcia1971)

    So is there any easy way to ignore pushing cache from the server for particular website while the plugin disabled? I’m sure there should be a checkbox or something in the control panel of litespeed server. Which exact settings should I disable there? I can’t just whitelist my IP as there are several websites on the same IP and there is one of the websites I’m debugging.

    Plugin Support qtwrk

    (@qtwrk)

    Sadly , not I am aware of : (

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Clearing cache is tedious while I debug my website’ is closed to new replies.