Vary header - HTTP | MDN
Syntax
http
Vary: *
Vary: <header-name>, …, <header-nameN>
Directives
*(wildcard)-
Factors other than request headers influenced the generation of this response. Implies that the response is uncacheable.
<header-name>-
A request header name that could have influenced the generation of this response.
Specifications
| Specification |
|---|
| HTTP Semantics # field.vary |
Browser compatibility
See also
- Content negotiation
- HTTP caching: Vary
- Understanding The Vary Header on smashingmagazine.com (2017)
- Best Practices for Using the Vary Header on fastly.com