Cache exclude domain

Pong

Administrator
Staff member
#2
You should not enable cache globally. instead, you can enable cache for the domain you wanted by installing a litespeed cache plugin.
 

lclarke

Administrator
Staff member
#4
Hi, pardis.
If you are talking about shared hosting, this wiki might help. The idea is to disable cache at the server level, and then enable it only for the virtual hosts you wish to have it. We have several plugins that may be used on virtual hosts to configure LSCache for particular web apps. The plugins are easier and more feature-full than rewrite rules would be.
I hope this answers your question!
 

Michael A

Administrator
Staff member
#6
Hi pardis,

For this case I would recommend doing the same as above but in reverse. So you would want to put 'CacheEngine on' in 'pre_main_global' and then selectively disable for certain users by adding the 'CacheEngine off' directive in those user's specific virtual host include files. This should be easier than individually enabling in your case.

Regards,
-Michael
 
Top