Cache Not Working If There is A Referrer

#1
Hi there,
As i created a thread on wordpress forum i need a faster help for my problem.

I have a fully website cache and it works when i directly open imadora.ir or any pages on this site. but there is a problem if there is a referrer like google.com or torob.com litespeed doesnt serve the cache created with crawler, i enable drop query strings also.

very very important for us to serve this problem. i have very poor pages in core web vitals because pages dont have cache for my clicks on torob.com and google.com.
 

serpent_driver

Well-Known Member
#2
Neither the LiteSpeed LScache Engine nor any LiteSpeed Cache plugin prevents caching with a referrer from Google or any other referrer. However, you should first specify that requests with these referrers will not be cached. Is the x-litespeed-cache-control header miss or no-cache?

If you want the content of a URL to be cached, this URL must have been requested at least once before, or the cache must have been warmed up by a cache crawler.
 
#3
x-litespeed-cache: miss

ok i got it. one question, does litespeed crawler warm up the urls? because i still have cached urls with litespeed cache crawler but still cache is missing with referrers.
 

serpent_driver

Well-Known Member
#6
Code:
x-litespeed-cache: miss
FYI: miss doesn't mean no-cache. If the cache is miss it means that the current cache status is miss, but is currently cached. A URL must be requested to get the hit status displayed with the next request of the same URL. This is how every kind of cache works.
 
#7
Hi there,
As i created a thread on wordpress forum i need a faster help for my problem.

I have a fully website cache and it works when i directly open imadora.ir or any pages on this site. but there is a problem if there is a referrer like google.com or torob.com litespeed doesnt serve the cache created with crawler, i enable drop query strings also.

very very important for us to serve this problem. i have very poor pages in core web vitals because pages dont have cache for my clicks on torob.com and google.com.
All good now?
 

serpent_driver

Well-Known Member
#8
Almost everything is possible, but if you have custom conditions, you need custom configurations of LScache that are not supported by the LScache plugin for WordPress. So please explain what you need. The better your explanation the better the solution can be provided!
 
Top