For testing purposes I have deactivated the cache on QC, but now Litespeed cache seems to be not caching anything (opened the page in a private browser tab, loaded it several times but Litespeed is showing bkd as cache status, which I think means a “miss”).
Here all the response headers:
cache-control no-store, no-cache, must-revalidate
content-encoding gzip
content-length 83681
content-type text/html; charset=UTF-8
date Wed, 01 Oct 2025 07:38:52 GMT
etag "154215466-1759304332;gz"
expires Thu, 19 Nov 1981 08:52:00 GMT
pragma no-cache
server LiteSpeed
vary Accept-Encoding
x-dns-prefetch-control on
x-litespeed-cache bkd
x-litespeed-cache-control public,max-age=604800
x-litespeed-tag 326_front,326_URL./,326_F,326_Po.61,326_PGS,326_
x-qc-cache miss
x-qc-pop EU-GB-LCY-HYBRID-61
I’m wondering why everything seems to be set to “no cache” (cache-control no-store, no-cache, must-revalidate, pragma no-cache). In the Litespeed settings I don’t have any exclusions for caching. I have set certain cache varies, which are also showing in the Litespeed debug log, but seem not to be having any influence on the cache behaviour.
Is there a way to work out what stops the caching to happen?
-
This reply was modified 4 months, 1 week ago by
cyrix2000.
@cyrix2000
bkd is considered hit on origin(your server), but miss on QC.
Admin should never be cached.
Please create a report and share the ID with me.
The report can be created from LSC => Toolbox => Report => click on “Send to Litespeed”
Hi, I have now re-activated the QC cache, here the report ID: TPZXOCKK
What I want to confirm is:
– does my cache vary against the cookie “onetwo3d_cache_cluster” work? Is there a way to validate this?
– does the cache vary also works with QC caching being active?
-
This reply was modified 4 months, 1 week ago by
cyrix2000.
Plugin Support
qtwrk
(@qtwrk)
yes, when you add cookie in Cache -> Advance -> Vary Cookies , then it will sync to QC , which I have just looked over QC and confirm its presence
you can send requests with different cookie value , like onetwo3d_cache_cluster=1 , and onetwo3d_cache_cluster=2 , you should see cache miss when value changes.
ok, perfect :-). Thank you for confirming.