{
  "id": 9435623,
  "title": "We just shipped support for the ugliest part of HTTP: Vary – Cloudflare Blog",
  "url": "https://urgent.news/2026/09/23/we-just-shipped-support-for-the-ugliest-part-of-http-vary-cloudflare",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-09-23T22:03:21.000Z",
  "source": {
    "name": "Hacker News",
    "slug": "hacker-news",
    "url": "https://blog.cloudflare.com/vary-support/"
  },
  "original_language": "en",
  "account": "The Vary header in HTTP has been widely criticized as the \"ugliest part of HTTP\" due to its problematic interoperability and the complexity it adds to caching. However, it is not entirely useless - it serves a crucial purpose in ensuring that caches serve the correct response for a given request. When a server returns the Vary header, it lists the request fields that may influence the response. This allows caches to determine which request headers should be considered when serving the cached response. The origin site declares which request fields may vary, and the cache owner decides how to handle each one. The new Vary support in Cloudflare's Cache Rules allows customers to normalize known negotiation headers, pass exact values when necessary, or bypass the cache when the variation is too unpredictable. This feature helps to strike a balance between cache efficiency and serving the correct response without overwhelming the application with additional code.",
  "summary": null,
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}