CDN-Cache-Control: Precision Control for your CDN(s)
On May 21, 2021, a new set of HTTP response headers called "CDN-Cache-Control" was announced. This feature allows customers to control how Cloudflare's CDN behaves without affecting other caches. The CDN-Cache-Control is similar to the Cache-Control header but provides more specific directives for managing CDN cache behavior. It helps solve problems caused by non-specific directives in Cache-Control, which can lead to unexpected behavior and confusion as the number of intermediary caches grows between an origin and the client. The new headers provide CDN-specific control for when to use stale assets to fulfill requests. Overall, CDN-Cache-Control allows finer grained control of how Cloudflare manages cache lifetimes and revalidation behavior on a per-asset basis.
Company
Cloudflare
Date published
May 21, 2021
Author(s)
Alex Krivit, Zaidoon Abd Al Hadi
Word count
1403
Language
English
Hacker News points
7