Cache Management
Introducing Cache Response Rules

Introducing Cache Response Rules

7/23/2026 · Alex Krivit, Anthony Turcios

What this post added

Introduced Cache Response Rules, a new rule type that runs after an origin server replies but before Cloudflare caches the content. These rules allow for rewriting Cache-Control directives, managing cache-tags, and stripping headers like Set-Cookie, ETag, and Last-Modified from the origin response before Cloudflare's cache sees them. This addresses issues where origin responses inadvertently make assets uncacheable. Cache Response Rules operate in the response phase, complementing existing Cache Rules which operate in the request phase. Supported actions include stripping specific headers, managing cache tags (add, remove, set), and modifying Cache-Control directives (duration, qualified, and boolean).

Read the original post ↗