purge cache of selected pages only ? daily basis




Wordpress LScache Plugin: purge cache of selected pages only ? daily basis

Last Updated on: Wed, 15 Apr 2026 00:00:02
This plugin works fine but ive few pages (not posts) which have dynamic content and updated daily. But this update is not through wordpress admin dashboard. Remote text files are inserted into these pages daily as news snippets. Right now i excluded these pages from cache but its causing lot of load and high cpu usage as each page is dynamically built every time a visitor reads them. In general, website cache time limit is set to 1 week. But i need only few pages to be purged daily basis at selected time. I chose that option to purge few urls at selected time but it does not work (even at local time, gmt or server time). I need entire website cache to be cleared only when a post is published or once in a month. cache on Few pages should be purged on daily basis at selected server time. (this plugin shows GMT/UTC) how to do this Hi, When you use scheduled purge , please make sure your site has traffic around that time , as wp cron is triggered by incoming traffic , if you didnt have any traffic at that moment , it may not work. other way around is to use system based cron job to trigger it , instead of WP cron. you can also , create a php file , for example purge-page.php with code to purge individual page then for your purge all , you can do with code header(x-litespeed-purge: ) then you can create a cron job to curl this page to purge it. Best regards, Ive disabled wp-cron due to excess cpu usage. used this code with individual page and ran a seperate cron job to clear those pages every 24 hours at particular time. But it failed to clear cache of those pages during last 72 hours. Had to login as admin and clear cache manually. There are other cron jobs which run successfully everyday. So the problem must be with the code Hi, if you run



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



Reference