Plugin Support
qtwrk
(@qtwrk)
Hi,
please contact your product plugin , and kindly ask them if there is any action we can use to send purge all.
e.g.
add_action( 'action_name', 'lscwp_purge' );
function lscwp_purge(){
if ( defined('LSCWP_V') ) {
do_action( 'litespeed_purge_all' );
}
}
once you got the action name , replace action_name
in first line ,and then put the final code into your theme’s functions.php
Best regards,
As I’m waiting for plugin creator to reply on what you wrote I have excluded some URI:s but it still caches them and doesn’t work it seems. I still must manually purge cache. Why doesn’t URI exclusion work?
Plugin Support
qtwrk
(@qtwrk)
Hi,
it should work , please check the HTTP response header on the pages you excluded , you should see x-litespeed-cache-control: no-cache
Best regards,
Ok so I can see the HTTP response saying x-litespeed-cache-control: no-cache on the URI:s I put in.
So this should be able to solve my problem above?
Or does the plugin maker still need to do the changes like you wrote on your other reply?
Plugin Support
qtwrk
(@qtwrk)
this means the page itself is not cached , if you still have issue, it might be caused by something else instead of being cached
-
This reply was modified 3 years, 2 months ago by qtwrk.
It´s not being cached but it still doesn´t work.
The plugin maker is wondering: How can Litespeed cacheplugin be installed if one doesn´t have Litespeed web server ?
Plugin Support
qtwrk
(@qtwrk)
Hi,
the plugin itself is purely PHP script , it can be installed on any PHP-comapabitle server , either LiteSpeed, or Apache , or even IIS on windows
you can try reset to default setting first, see if it helps
Best regards,
Hm they can only see the optimizations for the plugin nothing more.
Anyway, is there a way to set the cache to be cleared at a certain time of the day?
Plugin Support
qtwrk
(@qtwrk)
Hi,
could you please state what is your server environment ?
since you asked before, are you using or not using LiteSpeed WebServer , OpenLiteSpeed , LiteSpeed ADC or QUIC cloud CDN ?
because if you are no using above 4 mentioned LiteSpeed products , the plugin will only act as page optimization plugin , but it will NOT actually cache any pages.
and also please provide the report number , you can get it in toolbox -> report -> click “send to LiteSpeed”
Best regards,
The one that was not using a Litespeed server was the plugin creator, I am using Litespeed server.
Can you please answer if it is possible to clear the cache at a certain time of the day ?
Ok I found what I was looking for, to purge cache on a certain time of the day.
Plugin Support
qtwrk
(@qtwrk)
I now tried this and it didn’t work.
I had to purge all manually. Now what?
Plugin Support
qtwrk
(@qtwrk)
what and how exactly did you set it up ?
and if you manually access the PHP file you created via browser, did it work ?