Need to see the PHP code to clear the cache
-
Hello to you and thank you for your work with this plugin which works wonderfully.
I wanted to ask you if it was possible to have an example PHP code that I could use with a chrome task to clear the cache entirely and clear specific pages using:do_action (“swcfpc_purge_cache”);
and
do_action (“swcfpc_purge_cache”, array (“https://example.com/some-page/”, “https://example.com/other-page/”));
I tried to clear the cache with it yesterday it is the secret key using cronjob but unfortunately it returns me html code 204 and it does not clear the cache.
if i could use a php file to clear the cache with a cron job that would be great.
Thanks to you, I wish you a very good day.
The topic ‘Need to see the PHP code to clear the cache’ is closed to new replies.