cf-cache-status Explained: What DYNAMIC, MISS, HIT and BYPASS Mean on WordPress

cf-cache-status explained: curl headers showing cf-cache-status BYPASS for a WordPress URL with ?nocache=1

cf-cache-status is the header Cloudflare adds to say what its cache did with one response. On a WordPress site you will mostly see four values: DYNAMIC, MISS, HIT and BYPASS. They look similar, but each one is decided by a different part of the chain, so each one is fixed in a different place.

Short version: DYNAMIC on your HTML is Cloudflare’s default, not an error. BYPASS means Cloudflare was willing to cache, but your server’s response said no. MISS once is normal. MISS forever is a cache key or traffic problem.

Everything below comes from real responses of this site (WordPress, Nginx, FlyingPress and the free Cloudflare plan), requested from Dhaka on November 5 and 6, 2026, checked against Cloudflare’s own documentation. If you only want to know whether your cache works at all, my guide on how to check if WordPress cache is working is the faster read. This one goes deep on the header itself.

What each cf-cache-status value means, and who decided it

Knowing who made the decision tells you where to look, so that is the column to read first.

ValueWho decidedTypical WordPress cause
HITCloudflare: a fresh copy was already in this data centrePage cached at the edge by a plugin integration, APO or a cache rule; static files with a default cached extension (after the first request)
MISSThe data centre: eligible, but no copy there yetFirst visit after a purge or a post update; a quiet page; a new data centre
DYNAMICYour Cloudflare settings, before the cache was even checkedHTML with no rule (the default); a logged-in bypass cookie; Development Mode; a POST request
BYPASSYour server’s response headersno-store or private (login, 404, logged-in pages), a Set-Cookie, or no cache header at all under some rules
EXPIREDFreshness: the copy was too old, a new one was fetchedA short edge TTL
REVALIDATEDYour server confirmed the old copy is still currentno-cache for the CDN plus Last-Modified or ETag
UPDATINGCloudflare served the old copy while refreshing itstale-while-revalidate
STALEYour server did not answer, so an expired copy was servedOrigin down, overloaded or timing out
NONE / UNKNOWNCloudflare answered by itselfA redirect (Always Use HTTPS, a redirect rule), a WAF block, a Worker

The definitions follow Cloudflare’s cache responses page. Whether to act on each one is covered below. Most of this post is about the first four, because those are the ones WordPress owners actually fight with.

What my WordPress site returns, URL by URL

I requested 15 different WordPress URLs (plus the same post while logged in) from my browser on November 6, 2026, around 3:40 pm Dhaka time, with cookies stripped (a logged-out visitor) except where the row says logged in. Every response came from the Dhaka data centre (the cf-ray header ends in DAC).

What I requestedcf-cache-statusWhat else the headers showed
A blog post, first requestMISSFlyingPress had purged and preloaded all pages earlier that afternoon; x-flying-press-cache: HIT (the preload had already rebuilt my server’s copy)
Same post, second requestHITage: 0, then age: 24 on the third request
Same post, while logged inDYNAMICcache-control: ... no-store, private; FlyingPress MISS
Same post with ?utm_source=testHITage: 3; the tracking parameter was ignored
Same post with ?nocache=1BYPASSNo cache-control and no cdn-cache-control at all; FlyingPress MISS
HomepageHITage: 558
Category pageMISSNot yet cached in Dhaka since the purge, same as the post
Theme CSS fileMISS, then HITcache-control: max-age=31536000
An uploaded .webp imageHITcache-control: max-age=31536000
REST API JSON (/wp-json/wp/v2/posts/239)BYPASSNo cache header
robots.txt, RSS feed, search results pageBYPASSNo cache header
sitemap_index.xmlBYPASSno-cache, no-store, must-revalidate, max-age=0
A 404 pageBYPASSno-store, private
wp-login.php and admin-ajax.phpBYPASSno-store, private

Here is the same blog post in curl from the night before (19:10 GMT on November 5). Age: 5813 shows Cloudflare already had a copy:

cf-cache-status HIT on a WordPress post in curl response headers, with age and cdn-cache-control

Three things in that screenshot matter for this post. cf-cache-status: HIT with Age: 5813 means the copy had sat at the edge for about 97 minutes. cdn-cache-control: max-age=2592000 is FlyingPress telling Cloudflare it may keep the page for 30 days. And Cache-Control: no-cache, must-revalidate is what browsers follow; Cloudflare reads cdn-cache-control first, which is why a HIT and a browser no-cache appear in the same response.

And this is the exact same URL with a query string FlyingPress does not ignore:

cf-cache-status BYPASS for the same WordPress URL with a query string, with no cache-control header

Same server, same page, different answer: BYPASS, and both cache headers are gone. The pattern across the table is clear. On my setup almost every request is eligible for Cloudflare’s cache, and the origin decides with its headers. A page FlyingPress has cached carries a CDN cache header, so Cloudflare stores it. Anything else carries no cache header or no-store, so Cloudflare refuses to store it. The only DYNAMIC in the whole list is the logged-in request, which a cookie rule stops before the cache is even checked.

One honest note: I did not open the Cloudflare rule that FlyingPress created while writing this. The headers above match Cloudflare’s Edge TTL option “Use cache-control header if present, bypass cache if not”, which its cache rule settings page describes as not caching a response without that header.

How Cloudflare picks the value: five questions in order

Cloudflare does not choose a status at random. It works through a short sequence, and the first question that ends the process gives you the value. Knowing the order is the fastest way to debug.

  1. Did Cloudflare answer by itself? A redirect from Always Use HTTPS or a redirect rule, a WAF block, or a Worker reply happens before the cache. Result: NONE / UNKNOWN.
  2. Is this request eligible for cache? HTML is not, by default. Neither is anything matched by a “Bypass cache” rule, any method other than GET or HEAD, or anything while Development Mode is on. Result: DYNAMIC, with no cache lookup at all.
  3. Did the response allow storing? Asked after your server answers. no-store, private, Vary: *, a Set-Cookie in some setups, or a file over the plan’s size limit means no. Result: BYPASS.
  4. Is there a copy in this data centre? No: MISS. Yes: go to the last question.
  5. Is the copy still fresh? Yes: HIT. No: EXPIRED (new copy fetched), REVALIDATED (server said the old one is fine), UPDATING (old one served while refreshing) or STALE (server did not answer).

This order is why DYNAMIC and BYPASS need different fixes. DYNAMIC is decided at step 2, so no header you send from WordPress can change it. BYPASS is decided at step 3, so your server’s headers are exactly where the answer is. Cloudflare’s uncached responses guide spells out the same split.

cf-cache-status HIT: what it means and how to confirm it

HIT means Cloudflare already had a fresh copy of that URL in the data centre that answered, so it sent that copy without asking your server. On WordPress, HIT on images, CSS and JavaScript is normal from the second request. HIT on the page itself only happens when something made your HTML eligible for cache: a plugin integration, APO or a cache rule.

On my site the same blog post went from MISS on the first request to HIT on the second, with age: 0, then age: 24 on the third. The homepage came back HIT with age: 558, and an uploaded .webp image was HIT too (the table above has every URL).

Three checks tell you a HIT is real:

  • The age header grows between requests. Cloudflare sends age only on HIT, STALE and UPDATING, so a rising age means the stored copy is being reused. I once got a HIT with no age header while Tiered Cache was still filling; the next request had it.
  • cf-ray ends in the same three letters each time. A HIT in one data centre says nothing about another (DAC is Dhaka).
  • You are logged out. A logged-in browser gets DYNAMIC on a well-built setup, so test with curl or a private window.

Cloudflare’s Caching overview also shows what share of requests were served from cache. On WordPress that share is mostly images, CSS and JavaScript, so a high number does not prove your HTML is cached; check the page itself.

A HIT also explains why edits can look stuck: visitors and crawlers alike get the stored copy until it expires or is purged (the fix is in the FAQ below and in my post on WordPress changes not showing). For a full test of every cache layer, use my guide on how to check if WordPress cache is working.

cf-cache-status DYNAMIC on WordPress: normal, and how to change it

If you put a plain WordPress site behind Cloudflare and check a post, you will see cf-cache-status: DYNAMIC, while your images, CSS and JavaScript show HIT. That is by design. Cloudflare caches static file types by default and leaves HTML alone, because HTML can contain things that differ per visitor.

Step 2 above lists the general causes (no rule, Development Mode, non-GET requests). Two are specific to WordPress:

  • You are logged in. Any decent setup bypasses the edge for the wordpress_logged_in_ cookie. My logged-in request above shows exactly this, so never judge your edge cache from a logged-in browser.
  • A “Bypass cache” cache rule matches the URL, often one a plugin created for admin, cart or checkout paths, or an old Page Rule with Cache Level: Bypass.

DYNAMIC is not a problem if your server is fast on its own. On my test copy, FlyingPress’s page cache alone took TTFB from 0.872 s to 0.385 s, and the Cloudflare edge HIT took it to 0.145 s (the full test is in my post on how to reduce TTFB in WordPress). The edge mostly helps visitors who are far from your server.

Three ways to turn DYNAMIC into HIT for your pages

1. Your cache plugin’s Cloudflare integration. This is what I use. I run FlyingPress for page cache and its Cloudflare integration on the free plan. That is an affiliate link: I may earn a commission at no extra cost to you. The plugin creates the Cloudflare rule, keeps exclusions, ignored query strings and bypass cookies in sync, and purges the edge when you update a post. Without automatic purging, an edge cache serves old pages. My FlyingPress settings post shows the setup.

2. Cloudflare APO. Cloudflare’s own WordPress add-on, about $5 a month on the free plan and included on Pro. You install the Cloudflare plugin, and it purges on updates. When it works, the response shows cf-cache-status: HIT plus cf-apo-via: tcache and cf-edge-cache: cache,platform=wordpress, as Cloudflare’s APO check page lists. FlyingPress says to turn APO off before using its own integration, so pick one.

3. Your own cache rule, no plugin. Free and simple, but you have to handle exclusions and purging yourself. In Cloudflare, go to Caching, then Cache Rules, create a rule with “Eligible for cache”, and use an expression like this one (change the hostname):

(http.host eq "example.com"
 and not starts_with(http.request.uri.path, "/wp-admin")
 and not starts_with(http.request.uri.path, "/wp-json")
 and not http.request.uri.path in {"/wp-login.php" "/xmlrpc.php" "/wp-cron.php"}
 and not any(http.request.uri.args.names[*] == "s")
 and not (http.cookie contains "wordpress_logged_in_")
 and not (http.cookie contains "wp-postpass_")
 and not (http.cookie contains "comment_author_")
 and not (http.cookie contains "woocommerce_items_in_cart")
 and not (http.cookie contains "wp_woocommerce_session_"))

Keeping everything in one rule avoids a rule-order mistake, since Cloudflare applies the last matching rule when two conflict. For Edge TTL, leave the default, “Use cache-control header if present, use default Cloudflare caching behavior if not”. Plain WordPress sends no cache header to logged-out visitors, and in that case Cloudflare caches a 200 page for 120 minutes, per its default cache behavior page.

Check one page with curl first: if your host or a plugin sends no-cache or max-age=0, you will need “Ignore cache-control header and use this TTL” (for example two hours). My Cloudflare cache rule test on a separate site used that option with 2 hours, because its homepage sent no Cache-Control header, and shows the TTFB before and after.

Two warnings. First, that Ignore option also strips Set-Cookie and caches the page anyway, so never use it on a store, membership site or any site where logged-out visitors get their own session. The default option does not do that. Second, nothing purges the edge when you edit a post, so changes appear only after the TTL or a manual purge (see WordPress changes not showing). I have not run this rule on WebPickr, since the plugin does the job here.

cf-cache-status BYPASS: Cloudflare was ready, your server said no

BYPASS confuses people because it sounds like DYNAMIC. It is the opposite situation. The request passed step 2 and was eligible, then the response told Cloudflare not to store it. Cloudflare lists these causes:

  • Cache-Control: no-store or a bare private from your server. WordPress and plugins send this on purpose for login pages, admin requests and logged-in pages. In my table, wp-login.php, admin-ajax.php, the 404 page and the sitemap all came back this way.
  • The same directives in CDN-Cache-Control or Cloudflare-CDN-Cache-Control. These win over Cache-Control, in that order.
  • A Set-Cookie header in the response, in some configurations. Session, cart and consent plugins are the usual source on WordPress.
  • Vary: *, which always bypasses.
  • A file larger than your plan’s cacheable size limit.
  • No cache header at all, when the rule says to cache only if the origin sends one. That is my REST API, feed, search and ?nocache=1 result.

For most of those URLs, BYPASS is the right answer. You do not want search results, carts or login pages at the edge. BYPASS is only a problem on a page you expected to be cached. Then read that page’s cache-control, set-cookie and vary headers and find which plugin adds them. Do not “fix” a BYPASS by forcing the page into cache while a session cookie is still being set. That is how one visitor’s cart or login state can be shown to other visitors.

One detail that helps: no-cache, max-age=0 and s-maxage=0 do not cause BYPASS on the Free, Pro and Business plans, where Origin Cache Control is on by default. They cause revalidation instead (REVALIDATED or EXPIRED). So a browser-facing no-cache, like the one on my cached pages, does not stop the edge copy.

cf-cache-status MISS every time: why it never turns into HIT

A MISS is fine once. If you reload and still get MISS, work through these in order:

  • A different data centre answered. Each Cloudflare location has its own cache. Compare the last three letters of cf-ray between requests (DAC is Dhaka). A HIT in Dhaka says nothing about Frankfurt.
  • Something just purged the cache. My post and category page were still MISS in Dhaka after FlyingPress’s purge and preload. The preload refilled FlyingPress’s own cache on the server (x-flying-press-cache: HIT), but a Cloudflare location only stores a page once a request passes through it. Every post update, plugin purge or Cloudflare purge resets the next request in each location to MISS.
  • The URL is different each time. Query strings are part of the cache key. My ?utm_source= request still got a HIT because FlyingPress ignores those parameters and syncs that list to Cloudflare. A random ?v= or session parameter on every link creates a new cache entry every time.
  • The page sets a cookie. If a logged-out response carries Set-Cookie (consent, session, cart or analytics plugins), Cloudflare will not store it. Depending on your settings it shows BYPASS or MISS on every request; Cloudflare’s docs describe both. Look for set-cookie in the headers and find the plugin adding it.
  • Vary or device splitting. A plugin sending Vary: User-Agent or Vary: Cookie, or “Cache by Device Type”, splits one page into many copies.
  • The page is quiet. Cloudflare evicts rarely requested files. Tiered Cache helps, because a nearby upper-tier location keeps a copy for many edge locations. I keep Smart Tiered Cache on.

Do not read MISS with your browser while logged in or with a cart cookie. Test logged out with curl or a private window, as in my guide to checking WordPress cache. Right after a purge, one MISS is expected; how to purge each layer cleanly is in my guide on how to clear WordPress cache.

cf-cache-status EXPIRED: the edge copy ran out of time

EXPIRED means Cloudflare found a copy of the URL, but it was past its edge TTL, so it went back to your server and served (and stored) what came back.

EXPIRED, REVALIDATED, UPDATING and STALE only appear after a copy has existed and its time ran out, so on a typical WordPress setup you will see them rarely. My plugin gives pages a 30-day CDN lifetime and purges on every update, so most pages are replaced by a purge before they ever expire.

Occasional EXPIRED is normal. With your own cache rule set to “Use cache-control header if present, use default Cloudflare caching behavior if not” and no cache header from WordPress, a page lives 120 minutes at the edge, so the first request more than 120 minutes after the page was stored can show EXPIRED (or MISS if Cloudflare has already evicted it). EXPIRED on nearly every request usually has another cause: the origin sends no-cache, max-age=0 or s-maxage=0 to Cloudflare, so every request is revalidated, and your server answers with a full new page instead of a 304. The fix is the same as for constant REVALIDATED below, not a longer TTL. Like REVALIDATED, it comes without an age header.

cf-cache-status REVALIDATED: your server said the old copy is still current

REVALIDATED means Cloudflare asked your server whether its stored copy was still current, got a 304 Not Modified back, and served the copy it already had. That needs a Last-Modified or ETag header, which my cached pages do send. There is no age header on these responses.

You see it when the origin tells the CDN to check every time: no-cache, max-age=0 or s-maxage=0. On the Free, Pro and Business plans these cause revalidation rather than BYPASS, because Origin Cache Control is always on there. The transfer is tiny, but each request still waits for your server, so the wait is closer to a MISS than a HIT. If every page shows it, something sends no-cache to Cloudflare; a CDN-Cache-Control header with a real max-age, which is what FlyingPress sends on my pages, lets the edge answer on its own.

UPDATING and STALE: an old copy served on purpose

These two also serve a copy that has run out of time, each for its own reason:

  • UPDATING: an expired copy was served while a fresh one loaded in the background, because the origin sent stale-while-revalidate.
  • STALE: an expired copy was served because your server did not answer. This is the one to act on: check the server, PHP-FPM and the error log.

NONE, UNKNOWN or no cf-cache-status header at all

NONE or UNKNOWN means Cloudflare generated the response itself, so there was nothing to cache: an HTTP to HTTPS redirect, a redirect rule, a firewall block or a Worker. Check the status code first. A 301 or 403 explains it.

No cf-cache-status header at all usually means the DNS record is grey-clouded (DNS only), so traffic is not going through Cloudflare. Check that the record is proxied (orange cloud) and that you are testing the exact hostname, with or without www.

Read cf-cache-status together with these headers

One header alone can mislead. These are the ones I always read next to it:

  • age: seconds the copy has been at the edge. Cloudflare sends it on HIT, STALE and UPDATING, not on MISS, DYNAMIC or BYPASS. It should grow between requests (0, then 24 in my test). If it never grows, you are not getting the same copy. One exception I saw myself: my homepage once came back HIT with no age. With Tiered Cache on, the first request that fills the local copy from an upper tier can arrive without it; the next one had it.
  • cf-ray: the last three letters are the data centre. Compare only like with like.
  • cdn-cache-control versus cache-control: the first is for CDNs, the second for browsers. Mine says 30 days for the edge and no-cache for browsers, so visitors always get the latest edge copy and a purge reaches them immediately.
  • Your plugin’s header, for example x-flying-press-cache: this is the origin cache, one layer behind Cloudflare.

Reading the two cache layers together:

cf-cache-statusPlugin headerWhat happened
HITHITServed from Cloudflare. The plugin header is a copy of what your server said when the page was first stored.
MISSHITCloudflare fetched it, your server answered from its page cache. The next request here should be HIT.
DYNAMIC or BYPASSHITNo edge cache for this request, but your server still served a cached page. Fine for a site without edge HTML caching.
DYNAMIC or BYPASSMISSWordPress built the page in PHP. Expected when logged in, on excluded URLs or right after a purge. Bad if every visitor sees it.

How to check cf-cache-status in one command

On Windows 10 and 11, curl is built in. Run this in Command Prompt (in PowerShell, type curl.exe):

curl -s -o NUL -D - https://example.com/your-post/ | findstr /i /b "cf-cache-status age: cf-ray cache-control cdn-cache-control"

On Mac or Linux:

curl -s -o /dev/null -D - https://example.com/your-post/ | grep -iE "^(cf-cache-status|age:|cf-ray|cache-control|cdn-cache-control)"

Run it twice. The first answer can be MISS; the second tells you the real state. I use -D - rather than curl -I because -I sends a HEAD request, which some servers answer differently from a real page load. In Chrome, the same headers are under DevTools, Network, the first document row, Headers. For a check from many countries at once, DebugBear has a free CDN cache checker.

Prefer a browser? Our free WordPress cache checker requests the page twice and shows cf-cache-status for both requests.

FAQ

Is cf-cache-status DYNAMIC bad for SEO or speed?

No. It only means Cloudflare is not caching that HTML, which is its default. Google sees the same page. Speed depends on how fast your own server answers; a good page cache on the server can be fast enough, and an edge HIT mainly helps visitors far from your server.

What is the difference between BYPASS and DYNAMIC?

DYNAMIC is decided before the cache: the request was not eligible (default HTML, a bypass rule, a login cookie, Development Mode). BYPASS is decided after your server answers: the request was eligible, but the response said not to store it, for example with no-store, private or a Set-Cookie.

Why do my images and CSS show HIT but my pages show DYNAMIC?

Cloudflare caches static file types such as images, CSS and JavaScript by default and does not cache HTML unless a rule, APO or a plugin integration makes it eligible.

How do I get cf-cache-status HIT on WordPress for free?

Use a cache plugin with a Cloudflare integration on the free plan (FlyingPress and Super Page Cache can do this), or write your own cache rule with bypasses for logged-in, comment and cart cookies. The plugin route also purges the edge when you update a post.

Why is cf-cache-status HIT but I still see the old page?

Cloudflare is still serving the copy it stored before your change. Purge that URL in your plugin or in Cloudflare, then check that the age header starts again near zero. If it does and you still see the old page, your browser has its own copy: hard refresh or test in a private window.

Does Development Mode show in cf-cache-status?

Yes. While Development Mode is on, Cloudflare stops caching for three hours and responses show DYNAMIC, including files that would normally be HIT.

Related Guides