Stop Auto Purging




Wordpress LScache Plugin: Stop Auto Purging

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hi Support How do I suppress Litespeed from auto purging. I have already set Default Public Cache TTL to 1 week, unchecked everything under Auto Purge Rules For Publish/Update , and delete all hooks from Purge All Hooks . I also added the following code from themes function.php: if (strpos($_SERVER[REQUEST_URI], LSCWP_NONCE ) === false) ob_start( function($buffer) @header(X-LiteSpeed-Purge: nothing) return $buffer ) For some reason, it still auto purges twice in two days. I do not know when it actually happened but if I look at the Show crawler status , I can see it is running and under status, some are shown as waiting to be crawled . Secondly I want to mention that some of these pages are marked as cached under litespeed>crawler>map, when I inspect the page using chrome network, it is still marked as miss. What can possible be wrong with the setup? Thank you did you put that code at top of your funcitons.php ? the crawler status is not always accurate , better to verify by yourself there are could be multiple varies , like you have mobile page crawled , but you visited as desktop , or vice versa or the crawler finished non-webp vary , yet you visit it as webp user Yes, I placed the code at the top of function.php And I do not have separate cache for mobile device. So if I visit from desktop or mobile, both will have the same version of cache. I also checked that all crawler has completed the entire crawling cycle because when I click on Show crawler status , it says status End at position 1. For the purge issue, there should be a purge log. Check it to see what the purge reason is. For other questions, please create separate topics for easier and clearer discussion. Where is the purge log located at? it will be wp-content/debug.purge.log i checked, theres nothing inside the purge log did you enable debug log to ON and set level to advance ? the log is going to fill after a purge happened.



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



Reference