Cache missed on first visit




Wordpress LScache Plugin: Cache missed on first visit

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hi All, I have litespeed set up on 5 dedicated servers and most sites when we visit show cache miss, but after revisiting the same page then shows cache hit They all have the wordpress litespeed plugin installed and set up for cache times We have set the public cache to 2419200 seconds and still we get cache missed on first visit Whats the best way to diagnose why this is? and how to ensure pages are cached for 4 weeks at a time Regards Keith Very little responses across the forum is this still live forum or every gone away Keith Hi Keith, to my understanding the cache is populated on 1st visit. Unless you use the crawler to warm up the cache. See Christians topic 15 places below yours. Hope this helps Hi and thanks for the response I have plenty of visitors browsing the site, but when I browse it ie next day and check the headers it says cache miss, then cache hit for every time I visit Its like its cache for me only even though its public I have no cookie warning set up as yet just a basic wordpress install The crawler to warm up doesnt make any difference Im hoping its me and not doing something so obvious and causing it! So frustrating as happening across a lot of servers Keith You need to verify you cache expiration date. If it was 24 hours then will be revalidated every day. Its all depends on the content on your page, if it was dynamic or static. Hi, even you set TTL 2419200 , it does not always means it will stick that long there are certain action you do in wp-admin could lead to cache purge , like change some setting , upgrade a plugin/theme , edit/publish a post ?etc you can either use crawler to precache the pages or you can try to find out why cache is purged by enabling the debug log once you enabled debug log, it will log all purge call to /wp-content/debug.purge.log which could give you some hint if something purged cached. Best regards, hi all, as I use a cookie notice plugin and this changes the output, I have the vary the following in my .htaccess file: RewriteEngine on CacheLookup on RewriteRule . ? [E=Cache-Control:no-autoflush] RewriteRule . ? [E=Cache-Vary:cookie_notice_accepted] do I have to enter this in the crawler part under simulation settings ie Cookie Name: cookie_notice_accepted next box: _null : true Keith yes



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference