We just shipped support for the ugliest part of HTTP: Vary

Simon Willison's Weblog · 4d ago

My comment on We just shipped support for the ugliest part of HTTP: Vary — Hacker News. I've been wanting this from Cloudflare for years . The classic problem here is if you do that thing where user agents that send "accept: text/html" get HTML, while user agents that don't get JSON or some other format. This used to be impossible to deploy behind Cloudflare caching, because they ignored the Vary…

Read original article on Simon Willison's Weblog →