Metraipolis › HTTP clauses › rfc9111-s5.2.2.2-c2

RFC 9111 §5.2.2.2 — must-revalidate

HTTP Caching · status: INTERNET STANDARD · keyword: MUST NOT, MUST · addressee: cache

Official text

The must-revalidate directive is necessary to support reliable operation for certain protocol features. In all circumstances, a cache MUST NOT ignore the must-revalidate directive; in particular, if a cache is disconnected, the cache MUST generate an error response rather than reuse the stale response. The generated status code SHOULD be 504 (Gateway Timeout) unless another error status code is more applicable.

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-5.2.2.2-2
Stable URL of this page
https://metraipolis.com/clausola/rfc9111-s5.2.2.2-c2

How to cite

RFC 9111, HTTP Caching, Section 5.2.2.2 (must-revalidate), https://www.rfc-editor.org/rfc/rfc9111.html#section-5.2.2.2-2; clause rfc9111-s5.2.2.2-c2: https://metraipolis.com/clausola/rfc9111-s5.2.2.2-c2
BibTeX
@misc{rfc9111s5222,
  title = {RFC 9111: HTTP Caching, Section 5.2.2.2},
  howpublished = {RFC Editor},
  url = {https://www.rfc-editor.org/rfc/rfc9111.html#section-5.2.2.2-2},
  note = {Clause rfc9111-s5.2.2.2-c2; https://metraipolis.com/clausola/rfc9111-s5.2.2.2-c2}
}

Summary (ours, not RFC text)

A cache must honor must-revalidate even when disconnected: it returns an error rather than serving a stale stored response. The adjacent rule recommends status 504 unless a different error fits better.

Conditions

Exceptions

None recorded.

Related clauses