Wordpress LScache Plugin: How to flush cache via PHP?
Last Updated on: Wed, 15 Apr 2026 00:00:02 In PHP how can the cache on the server be refreshed? Ideally for a specific page, but in general would be fine. I understand Litespeed does it on a set time, however we have a standalone legacy application where when we update things, would be good to flush the server cache on our WordPress site (which pulls the legacy data via SQL) Hi, Maybe this API guide would help you. https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:api Best regards
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference