In the Wordpress lightspeed cache plugin there is a purge all cache button. I would love to integrate a similar function in a plugin for Craft cms. I already found a solution to purge the cache of a single page (https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:no-plugin-advanced:purge). With this solution i can loop trough all page entry url's and purge them one by one. But i think, there should be a much simpler and faster solution. I tryed to understand the wordpress plugin, but i dont...
Does anyone have a simple purge all php script?
Does anyone have a simple purge all php script?