CDN Cache Control

The Cloudflare CDN respects the origin server cache rules unless explicitly changed by Cloudflare - Edge Cache TTL rules which override the headers

CDN-Cache-Control is a response header set on the origin to separately control the behavior of the CDN - Content Delivery Network Caches from other intermediaries that might handle the response

Cloudflare DOES NOT cache the resources when The Cache-Control header is set to private, no-store, no-cache, or max-age=0 or the Set-Cookie header exists.

Cloudflare DOES cache the resources when, Cache-Control header is set to public and max-age is greater than 0, or The Expires header is set to a future date.

When to Use Cache Control

Manage Cached Assets TTLs (Time to Live)

We can use CDN-Cache-Control when you explicitly manage the Cloudflare CDN Cache for Origin Cache, CDN Cache and Browser Cache

References