Stop Auto Purging
-
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 theme’s 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
- The topic ‘Stop Auto Purging’ is closed to new replies.