purge all cache via cronjob




Wordpress LScache Plugin: purge all cache via cronjob

Last Updated on: Wed, 15 Apr 2026 00:00:02
hello I need to clear cache via cronjob to execute .php file, so i can set when the time this cache will purge. Do you provide any hook to solve this ? anyway i have read your documentation, i have create simple php file for purge execute : === require( wp-load.php ) // Clear cache. do_action( litespeed_purge_all ) === that is lsws-purge.php, so if i run the php file, is it purge working ? thanks Hi, try this



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



Reference