Bots are not visited my website because of Litespeed Cache

AndreyPopov

Well-Known Member
#2
what CMS you use?

as I know, Google bots (and other bots) not accepted cookies
LSCache use _lscache_vary coockie variable to mark ("store") cache

for example on my Opencart 3.x site I add to .htaccess

Code:
RewriteCond %{HTTP_USER_AGENT} "bot|compatible|images|cfnetwork|favicon|facebook|crawler|spider|addthis" [NC]
RewriteRule .* - [E=Cache-Control:vary=isBot]
and not set _lscache_vary coockie for Bots (commit for Opencart 3.x LScache module)


this is a separate cache for bots.
 
Top