Why Cloudflare Says DYNAMIC While LiteSpeed Says HIT

An HTTP response can show CF-Cache-Status: DYNAMIC and X-LiteSpeed-Cache: hit at the same time. These headers describe different cache layers. Calling them contradictory can send a WordPress diagnosis in the wrong direction, especially when one visitor sees an old page and a logged-in editor sees a fresh one.

Why Cloudflare DYNAMIC and LiteSpeed HIT can appear together

In an anonymous sample of DocsHook's English and Chinese public pages on 2 November 2026, Cloudflare reported DYNAMIC while some responses reported a LiteSpeed hit; first requests could also show a LiteSpeed miss. Cloudflare's uncached-response documentation explains that DYNAMIC means the edge did not serve that response from its cache. LiteSpeed's header reference explains its own cache hit and miss markers. The headers can coexist because Cloudflare can forward a request to the origin, where LiteSpeed serves cached HTML.

A public request passes through Cloudflare DYNAMIC to a LiteSpeed origin HIT; Cloudflare forwards the request while LiteSpeed serves cached HTML.
Conceptual path consistent with DocsHook response headers sampled on 2 November 2026; not a packet trace.

That observation does not prove a stale page. A cache hit says where a response came from, not whether its content is correct. It also does not prove all URLs use the same policy: login, admin and error pages can have different rules. Treat a mixed header pair as a map of the request path, not as an error message.

Compare anonymous responses to identify the caching layer

Choose one exact URL and save its final destination, status code, response headers and a visible content marker. Make two anonymous requests with no WordPress login cookie, then compare an authenticated view of the same content if you have access. Record the time and whether the content had been changed through a normal editor save. If the first anonymous request is a LiteSpeed miss and the second is a hit, the origin cache has likely warmed. If both are DYNAMIC at Cloudflare, that does not show an edge cache hit.

Next identify which version is actually wrong. A logged-in editor can bypass page cache, so a mismatch may originate in a stale LiteSpeed entry, a browser resource cache, a plugin-generated asset or another layer. Inspect HTML and linked CSS/JS separately. If the HTML is fresh but a stylesheet is stale, purging the HTML cache alone may not address the symptom. The LiteSpeed troubleshooting guide provides controlled bypass and comparison methods.

Purge only the stale cache layer after confirming old content

When a single origin-cached URL is demonstrably stale, record its old and expected content markers, purge that URL or relevant tag and retest anonymous miss then hit. If the response is actually served at Cloudflare, use its own cache diagnostics and a targeted edge purge. Cloudflare's cache response guide describes the edge-side status vocabulary. Avoid changing both layers at once: a successful reload would not identify which setting mattered.

If a rule change makes output worse, restore its recorded prior value and retest the exact URL. A full-site purge can hide a recurring invalidation fault for a while, so it should not be the first proof of root cause. Our visitor-versus-logged-in diagnosis includes a bounded isolated stale-HTML experiment; the current DocsHook header sample only demonstrates the two-layer interpretation, not a new outage.

For a release review, collect both the first anonymous response and a repeat response. State the HTTP status, final URL and which layer reported a hit. Those three facts prevent “Cloudflare is caching it” from becoming an unsupported conclusion.