Clearing cache is tedious while I debug my website




Wordpress LScache Plugin: Clearing cache is tedious while I debug my website

Last Updated on: Wed, 15 Apr 2026 00:00:02
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 Im 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 doesnt 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! 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, Yes, I have Serve Stale set to OFF. When I disable the plugin I cant 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? 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 wont get stalled cache copy after they disable plugin maybe you can set admin user or your IP out of cache , so you dont need to disable or purge cache to debug the site. Best regards, So is there any easy way to ignore pushing cache from the server for particular website while the plugin disabled? Im sure there should be a checkbox or something in the control panel of litespeed server. Which exact settings should I disable there? I cant just whitelist my IP as there are several websites on the same IP and there is one of the websites Im debugging. Sadly , not I am aware of : (



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference