Go to: https://www.mysite.com/wp-admin/admin.php?page=litespeed-toolbox
At the bottom of this page there is a tab menu. Select “url” tab and enter URLs you want the cache to be purged.
Thanks for your help.
But how do I automate the purge cache for those pages, when a certain function of another plugin is performed?
You can use scheduler:
wp-admin/admin.php?page=litespeed-cache#purge > Scheduled Purge URLs
Unfortunately I can set up a planned purge.
Or I can set a purge all when hooks are run.
I would like a “purge this pages” when this hook is run.
I would like a “purge this pages” when this hook is run.
No, such function doesn’t exist and must be added to the plugin. Write a feature request.
I wait for someone from official support to answer me here. They will tell me what to do.
Thanks
Plugin Support
qtwrk
(@qtwrk)
Hi,
thanks @serpentdriver
you can hook this into your other plugins/functions.
if (defined('LSCWP_V'))
{
do_action('litespeed_purge_url', 'your_url_1');
do_action('litespeed_purge_url', 'your_url_2');
do_action('litespeed_purge_url', 'your_url_3');
}
Best regards,
I use it right away!
Thanks.