Metraipolis › HTTP clauses › rfc9111-s4.1-c3

RFC 9111 §4.1 — Calculating Cache Keys with the Vary Header Field

HTTP Caching · status: INTERNET STANDARD · keyword: SHOULD · addressee: cache

Official text

Some resources mistakenly omit the Vary header field from their default response (i.e., the one sent when the request does not express any preferences), with the effect of choosing it for subsequent requests to that resource even when more preferable responses are available. When a cache has multiple stored responses for a target URI and one or more omits the Vary header field, the cache SHOULD choose the most recent (see Section 4.2.3) stored response with a valid Vary field value.

Verbatim from the official RFC text, whitespace preserved. Copyright (c) IETF Trust and the persons identified as the document authors; IETF Trust Legal Provisions.

Official source
https://www.rfc-editor.org/rfc/rfc9111.html#section-4.1-7
Stable URL of this page
https://metraipolis.com/clausola/rfc9111-s4.1-c3

How to cite

RFC 9111, HTTP Caching, Section 4.1 (Calculating Cache Keys with the Vary Header Field), https://www.rfc-editor.org/rfc/rfc9111.html#section-4.1-7; clause rfc9111-s4.1-c3: https://metraipolis.com/clausola/rfc9111-s4.1-c3
BibTeX
@misc{rfc9111s41,
  title = {RFC 9111: HTTP Caching, Section 4.1},
  howpublished = {RFC Editor},
  url = {https://www.rfc-editor.org/rfc/rfc9111.html#section-4.1-7},
  note = {Clause rfc9111-s4.1-c3; https://metraipolis.com/clausola/rfc9111-s4.1-c3}
}

Summary (ours, not RFC text)

This recommendation or permission concerns calculating cache keys with the vary header field in RFC 9111. Its recorded addressee is cache; use the excerpt and official paragraph to determine the exact obligation.

Conditions

Exceptions

None recorded.

Related clauses