What are Cloudflare's caching levels?

You can set the Cloudflare CDN to cache static content according to these levels:

  • No Query String / Basic: Only delivers resources from cache when there is no query string.
  • Ignore Query String / Simple: Delivers the same resource to everyone independent of the query string (Note: The Ignore Query String setting only applies to static file extensions. This setting will remove the query string when generating the cache key, so that a request for "style.css?something" will be normalised to just "style.css" when serving from the cache.).
  • Standard / Aggressive: Delivers a different resource each time the query string changes.

Note: By default, Cloudflare does not cache HTML content. You need to write a Page Rule to cache static HTML content.

For more advanced caching options with Page Rules, please see this article What do the custom caching options mean in Page Rules.




Still not finding what you need?

The Cloudflare team is here to help. 95% of questions can be answered using the search tool, but if you can’t find what you need, submit a support request.

Powered by Zendesk