Visual RFC.
ALL RFCs / RFC 9111
Read the RFC ↗
RFC 9111 / CACHE DECISIONS

Revalidate with 304

03

A conditional request asks the origin whether a stored representation can still be used.

RFC 9111 · § 4.3EXAMPLE
3 / 3
03
Update the stored metadata.

The cache selects the matching entry, updates it under §4.3.4, and serves its saved content.

Revalidate with 304A cache sends its ETag condition upstream, receives a bodyless 304, and updates the stored response before serving its saved body.Validate the saved representationIllustrative stored ETag: "v7"CacheOriginIf-None-Match: "v7"304 Not Modifiedmetadata only · no replacement bodySaved body retainedMatching entry metadata updatedFreshen metadata and reuse matching stored content

Key idea: An unchanged representation can reuse its stored content.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Validation can send If-None-Match with stored entity tags, or an appropriate Last-Modified condition.
  • A 304 response has no representation content; it identifies stored responses that can be freshened under the matching rules.
  • Apply the 304 metadata to the identified stored responses before reusing their content. A changed representation can instead produce a new full response.

A 304 is not an empty replacement for the saved body. If a cache has no suitable stored response, it cannot invent the missing representation.

Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A request starts a conversation.

A client asks for a resource. A server sends a response. The method, address, headers, and status explain what that conversation means.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

All chapters in RFC 9111

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗