Cloudflare previously ignored Vary for non-image responses
Before the new feature, Cloudflare ignored the Vary header on responses other than images, risking incorrect cache sharing—e.g., caching a JSON response and serving it to a client expecting HTML.
Evidencia a favor
Comment: We just shipped support for the ugliest part of HTTP: Vary
Extracto original
This used to be impossible to deploy behind Cloudflare caching, because they ignored the Vary header on anything other than images - so you risked caching the JSON version and then serving it up to someone who was expecting HTML.
Compartir informaciónVerificar esta afirmación
