How can I tell if Cloudflare is caching my site or a specific file?

To test if your site or a specific resource is being cached, use After you enter a URL and run a test, you can review the details page. If Cloudflare is caching, the response headers show the following:

CF-Cache-Status: HIT

If you have access to a terminal or command line window, you can also check a particular resource by using this command:

curl -svo /dev/null http://<your_URL>

A miss status means that Cloudflare is not caching that particular resource. Expired means that the resource is no longer in the Cloudflare cache.

To learn more, see Cloudflare CF-Cache-Status responses.

Note: By default, the Cloudflare CDN only caches on-site static content resources based on the file extension.

Not finding what you need?

95% of questions can be answered using the search tool. This is the quickest way to get a response.

Powered by Zendesk