Cloudflare Docs
Cache
Edit this page on GitHub
Set theme to dark (⇧+D)

Caching levels

Caching levels determine how much of your website’s static content Cloudflare should cache. Cloudflare’s CDN caches static content according to the levels below.

  • No Query String: Delivers resources from cache when there is no query string. Example URL: example.com/pic.jpg
  • Ignore Query String: Delivers the same resource to everyone independent of the query string. Example URL: example.com/pic.jpg?ignore=this-query-string
  • Standard (Default): Delivers a different resource each time the query string changes. Example URL: example.com/pic.jpg?with=query

You can adjust the caching level from the dashboard under Caching > Configuration > Caching level.

​​ API Caching level values

If you are using the API to change the cache level, the values will differ from those shown in the dashboard. Refer to the table below to see how the API values map to the values shown in the dashboard.

DashboardAPI
No Query StringBasic
Ignore Query StringSimplified
Standard (Default)Aggressive