X-LiteSpeed-Cache: miss. You reload again. Still miss. The page takes just as long as before. In most of these cases the cache engine is fine. Something in the request or the response is telling LiteSpeed not to store the page, or not to serve the stored copy, and the usual culprits are cookies, query strings, and exclusion rules.
This walkthrough goes from the header you can see down to the setting that causes it, and clears out the false alarms along the way.
What the cache headers are actually saying
hitmeans the response came from the public cache.hit,privatemeans it came from a per-visitor private cache.missmeans no cached copy existed for that exact request, so PHP built the page. If the page was cacheable, it gets stored for the next visitor.
X-LiteSpeed-Cache is missing entirely, the request never went through a cache lookup. That points to the server or .htaccess side, covered further down.
One miss is not a problem. The first request after a purge is always a miss, because that request is what fills the cache. The real symptom is a miss on the second identical request.
The second header worth reading is X-LiteSpeed-Cache-Control. On WordPress, the LiteSpeed Cache plugin uses it to tell the server how to treat the response. A value like public,max-age=... means the plugin considers the page cacheable. no-cache means the plugin decided this page should not be cached. That is your strongest clue, because it moves the question from 'is the cache broken' to 'why did the plugin refuse this page'.
The cleanest test is the same URL requested twice from the command line, with no cookies:
BASH
# Fetch the same URL twice with GET (not HEAD), discard the body, print cache-related headers
for i in 1 2; do
curl -s -o /dev/null -D - 'https://example.com/' | grep -i -E 'x-litespeed|set-cookie|cache-control'
echo '---'
doneTEXT
# Illustrative output format
x-litespeed-cache-control: public,max-age=604800
x-litespeed-cache: miss
---
x-litespeed-cache-control: public,max-age=604800
x-litespeed-cache: hithit, the cache works for anonymous visitors, and whatever you saw in the browser comes from your own session. If it still says miss, or you see no-cache or a set-cookie line, keep reading.
Rule out the false alarms first
- Adding something like
?test=1to bust the browser cache creates a new cache entry, so the first request is a miss by design. - POST requests, such as form submissions, are not served from the page cache.
- If a CDN sits in front of the site, its own cache status header describes a separate layer. A CDN hit and a LiteSpeed miss can both be true at once. Read each header for what it describes.
- Mobile caching, when enabled, keeps a separate copy for mobile visitors. A desktop hit does not warm the mobile copy.
Cookies are the usual reason
wordpress_logged_in_* cookie for logged-in users and comment_author_* cookies for people who have left a comment. WooCommerce sets cart and session cookies such as woocommerce_items_in_cart and wp_woocommerce_session_* once someone adds a product. The plugin treats these as signals that the visitor may need personalized content, so it either varies the cache or skips it. That is correct behavior. A shopper with items in the cart should not see a cached page with someone else's cart.
The trouble starts when a cookie that every visitor carries gets listed under the plugin's cookie exclusions (in recent versions, Cache > Excludes > Do Not Cache Cookies). If a consent banner or analytics script sets a cookie on every first visit and that cookie name is in the list, nobody gets a cached page except bots and curl. This explains the 'curl hits, browser misses' pattern. To confirm, copy the Cookie header from your browser's developer tools into curl with -H 'Cookie: ...', then remove cookies one at a time until the hit comes back.
The second direction is cookies the response sets. Look for set-cookie in the curl output for an anonymous visitor. A response that sets a cookie is personal to that visitor, so the cache typically refuses to store it. A frequent cause is a plugin that starts a PHP session on every page load. That sends a PHPSESSID cookie along with no-store and no-cache headers, and the page never becomes cacheable. The fix is to find which plugin does it, usually by deactivating plugins one by one on a staging copy, and then configure or replace it. Stripping the cookie at the server level is tempting, but the plugin might depend on that session to work.
Query strings that split or skip the cache
/pricing/ and /pricing/?utm_source=newsletter are two different cache entries. Marketing traffic is full of tracking parameters like utm_*, gclid, and fbclid, often with a unique value per click. Every one of those visits looks like a brand-new URL, so it misses, even when the plain URL is fully cached.
The plugin has a Drop Query String setting for exactly this case. Parameters listed there are ignored when building the cache key, so tagged links land on the same cached copy. Recent versions ship with some common tracking parameters already listed, but check what your installed version has rather than assuming.
The rule for deciding what is safe to drop is simple. A parameter is safe if it never changes what the page renders. Tracking and attribution parameters usually fit, because the analytics script in the browser still reads them from the URL. Parameters that change content are not safe: pagination, search terms like s, product filters, sorting, currency, and language switches. Drop one of those and visitors start getting the wrong page from cache, which is far worse than a miss.
Also check the opposite list, Do Not Cache Query Strings. A broad entry there can quietly exclude more than intended.
Exclusion rules and switches that turn caching off
X-LiteSpeed-Cache does not appear at all, look below the plugin. The plugin normally writes a block into the site's .htaccess that switches on cache lookup. Migrations, restores, and security plugins that rewrite .htaccess sometimes drop that block.
BASH
# Read-only check: is the LSCache block and CacheLookup still in .htaccess? Adjust the path to your docroot
grep -n -i -E 'lscache|cachelookup' ~/public_html/.htaccess.htaccess changes seem to be ignored entirely, that is a separate issue, covered in the AllowOverride article. Beyond that, the cache has to be enabled for the virtual host in the server's LiteSpeed configuration. On shared hosting that is the host's side. Ask support to confirm it rather than guessing.
Confirming the fix
X-LiteSpeed-Cache-Control, check for set-cookie, compare a cookie-less curl request with a real browser, and only relax a rule once you are sure that cookie or parameter does not change what the page shows.