We just shipped support for the ugliest part of HTTP: Vary
Thread
Unofficial Hacker News client; not affiliated with Y Combinator.
We just shipped support for the ugliest part of HTTP: Vary
Unofficial Hacker News client; not affiliated with Y Combinator.
rob-olmos · · focus · HN ↗
"If one response omits it, Cloudflare could cache that response without the variance needed to keep it isolated."[2]
Will that non-Vary cache object front-run any Vary-segmented cache objects?
If so, probably worth adding a snippet rule to ensure every response has a Vary header?
1: <a href="https://developers.cloudflare.com/cache/concepts/vary/#how-vary-affects-cache-keys" rel="nofollow">https://developers.cloudflare.com/cache/concepts/vary/#how-v...
2: <a href="https://blog.cloudflare.com/vary-support/#how-a-response-moves-through-cache" rel="nofollow">https://blog.cloudflare.com/vary-support/#how-a-response-mov...