Cloudflare's CF-Cache-Status Headers Explained

December 30, 2019

By Dan Cruickshank

What Are CF-Cache-Status Headers?

When using The presence of *cf-cache-status* indicates that the site is using Cloudflare. The value of *HIT* indicates that this resource has been returned from Cloudflare’s cache. And you’re very new, to get the above window I simply: * Loaded Cloudflare.com. * Opened Chrome’s Developers tools (right-clicked the page, selected “Inspect…”). * Selected “Network” tab. * Filtered by “Document” traffic (proper web pages). * Selected on “www.cloudflare.com” in the resource list. * Selected “Headers”.

Reduce your website overhead and bandwidths costs with Cloudflare.

Cloudflare Status Headers

Here is an overview of the popular values returned by cf-cache-status and their meaning.
Cloudflare HeaderDescription
cf-cache-status: HITYour resource was found in Cloudflare’s cache. This means that it has been previously accessed from your original server and loaded into Cache. It has all not expired.
cf-cache-status: MISSCloudflare looked for your resource in cache but did not find it. Cloudflare went back to your origin server to retrieve the resource. The next time this resource is accessed its status should be HIT.
cf-cache-status: BYPASSCloudflare has been instructed to not cache this asset. It has been served directly from the origin. This is usually because something like a existing NO-CACHE header is being respected.
cf-cache-status: EXPIREDCloudflare has previously retrieved this resource, but it’s cache has expired. Cloudflare will go back to the origin to retrieve this resource again. The next this resource is access its status should be HIT
cf-cache-status: DYNAMICThis resource is not cached by default and there are no explicit settings configured to cache it. You will see this frequently when Cloudflare is handling a POST request. This request will always go to the origin.
If you would like to influence what is cached and how something is cached by Cloudflare, Page Rules are a recommended option. For the more advanced, take a look at Cloudflare Workers I would recommend Redbot as tool to help understand and validate your resources headers. Thanks for reading.
Dan Headshot

Dan Cruickshank

President | Sitecore MVP x 11

Dan is the founder of Fishtank. He's a multi-time Sitecore MVP and Coveo MVP award winner. Outside of technology, he is widely considered to be a top 3 father (routinely receiving "Father of the Year" accolades from his family) and past his prime on the basketball court.

These are some related articles

Second CTA Ogilvy's Legacy

Today, David Ogilvy's influence can still be felt in the world of advertising.

Ogilvy's Influence Example
Emphasis on research Market research is a crucial part of any successful advertising campaign
Focus on headlines A strong headline can make the difference between an ad that is noticed and one that is ignored
Use of visuals Compelling images and graphics are essential for capturing audience attention