I have a question I was hoping someone could help me with. I have a plugin on my Wordpress site that we have written. In certain instances, I want to switch off the cache or mark it as private cache, when a feature of the plugin is enabled.
I have tried the following php code and it doesn't seem to work:
header ("X-LiteSpeed-Cache-Control: private,max-age=3600");
or
header ("X-LiteSpeed-Cache-Control: no-cache");
Thanks
I have tried the following php code and it doesn't seem to work:
header ("X-LiteSpeed-Cache-Control: private,max-age=3600");
or
header ("X-LiteSpeed-Cache-Control: no-cache");
Thanks