← Saturday, September 26, 2026Cloud & infraRelease

Cloudflare Cache Rules add controls for Vary-based cache entries

blog.cloudflare.com 12 min read Editor score 7/10

Cache Rules can normalize selected request headers, pass their exact values through, or bypass caching when Vary creates too many distinct entries. These controls address the trade-off between serving correct responses and keeping caches reusable.

What
The HTTP Vary header tells intermediary caches which request fields may affect a response for a URL.
How
Cloudflare Cache Rules let operators normalize selected headers, pass exact values through or bypass caching when variation is unpredictable.
Why it matters
These controls can prevent incorrect cache responses while avoiding needless fragmentation into barely reusable entries.
request cache miss Vary response policy response client Cache Rules cache origin
Requests pass through Cloudflare's cache, which uses origin responses and Cache Rules to choose what to serve. Sketched from the article's own text.

Discussion

Discussion is not switched on yet. Use Note above to keep your own thoughts on this story.

Headline, summary, brief and diagram are written by a model from the source's own text; the link, byline and numbers come from the source. Read the original before relying on a claim.

Your note

Private to you. Stored in this browser, and synced to your account when you are signed in.