Hi,
I am running GRAV on hosting with LiteSpeed Cache. Caching is working great, but I have to manually clear cache each time I made change on pages as I couldn't find any plugin for GRAV (use command curl -i -X PURGE https://page-url).
What I am trying to achieve is plugin that will purge page from cache after admin save.
Just for testing purposes I create .php file on root folder with code
<?php header('X-LiteSpeed-Purge: /page-url'); ?> and it is working fine each time I hit file.
So now I am trying to use this code in plugin with onAdminAfterSave function - but without any success.
Will be great to get any suggestions from U