# New HTTP standards for caching on the modern web

DevFeed: [New HTTP standards for caching on the modern web](<https://devfeed.tech/articles/new-http-standards-for-caching-on-the-modern-web-19097.md>)

Original publisher: [Read original article](<https://httptoolkit.com/blog/status-targeted-caching-headers/>)

Author: HTTP Toolkit; Tim Perry

Published: 2021-10-20T14:00:00Z

Content type: article

Language: en

Sources: [HTTP Toolkit](<https://devfeed.tech/sources/http-toolkit.md>)

Topics: [cache-control](<https://devfeed.tech/topics/cache-control.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [web-standards](<https://devfeed.tech/topics/web-standards.md>), [Internet Engineering Task Force (IETF)](<https://devfeed.tech/topics/ietf.md>), [Server](<https://devfeed.tech/topics/server.md>), [hosting](<https://devfeed.tech/topics/hosting.md>)

Tags: [2021](<https://devfeed.tech/tags/2021.md>), [akamai](<https://devfeed.tech/tags/akamai.md>), [caching](<https://devfeed.tech/tags/caching.md>), [cdn](<https://devfeed.tech/tags/cdn.md>), [cloudflare](<https://devfeed.tech/tags/cloudflare.md>), [fastly](<https://devfeed.tech/tags/fastly.md>), [headers](<https://devfeed.tech/tags/headers.md>), [http](<https://devfeed.tech/tags/http.md>), [ietf](<https://devfeed.tech/tags/ietf.md>), [internet-engineering-task-force](<https://devfeed.tech/tags/internet-engineering-task-force.md>), [modern](<https://devfeed.tech/tags/modern.md>), [performance](<https://devfeed.tech/tags/performance.md>), [reverse-proxy](<https://devfeed.tech/tags/reverse-proxy.md>), [standards](<https://devfeed.tech/tags/standards.md>), [web](<https://devfeed.tech/tags/web.md>)

## AI overview

The excerpt presents two IETF header standards intended to make CDN caching easier to debug and configure: Cache-Status and Targeted Cache-Control Headers. It says Cache-Status had completed several review rounds in 2021 and was awaiting final review and RFC publication; Targeted Cache-Control Headers was an adopted draft in its last call for feedback. Both formalize practices developed by major CDNs, including Fastly, Akamai, and Cloudflare, but the excerpt cautions that support may not yet be widespread. It explains why large public websites rely on caches and CDNs: they reduce requests reaching backend servers, absorb traffic spikes, combine simultaneous cache misses, and distribute content closer to users. The excerpt does not provide details on how either header works.

## Source excerpt

If you run any large public-facing website or web application on the modern web, caching your static content in a CDN or other caching service is super important. It's also remarkably complicated and confusing. Fortunately, the HTTP working group at the Internet Engineering Task Force (IETF) is working to define new HTTP standards to make this better. There's been a lot of work here recently to launch two new HTTP header draft standards intended to make debugging your caching easier, and to provide more control over your cache configuration. Let's see what that means, how these work, and why everyone developing on the web should care. The Standards The two proposed standards I'm talking about are: The Cache-Status Header Targeted Cache-Control Headers These are designed to update HTTP standards to match the reality of the CDN-powered web that exists today, creating specifications that formalize existing practices from popular CDNs (like Fastly, Akamai & Cloudflare, all of whom have been involved in the writing the standards themselves). Both of these are fairly new specifications: Cache-Status has completed multiple rounds of review in 2021 and is currently awaiting (since August) final review & publication as a formal RFC, while Targeted Cache-Control Headers is currently an adopted draft standard, but in its last call for feedback. In both cases, they're backed by the IETF, they're received a lot of discussion already and it's unlikely they'll change much beyond this point, but they're also still new, so support isn't likely to be widespread yet. Why does caching matter? If you're running a high-profile user-facing web application, caches and CDNs are absolutely critical to providing good performance for end users at a reasonable cost. Caches and CDNs sit in front of your web server, acting as a reverse proxy to ensure that: Content is cached, so your backend server only receives occasional requests for static content, not one request direct from every visitor. Co