Wordpress LScache Plugin: Clear cache programmatically
Last Updated on: Wed, 15 Apr 2026 00:00:02 Is there a hook/function available to clear the site cache programmatically? Hi, I think this wiki could help you. https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:api Best regards You could also use WP CLI to do so. for more detailes: https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:wordpress_cli Best regards, If youre looking for hooks and functions, you might find the API useful. I think you probably want LiteSpeed_Cache_API::purge_all(), but there may be other functions that are relevant to your application. Heres some documentation.
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference