HTTP cache / validator / 304
Separate ETag, Last-Modified, Cache-Control and 304
Use synthetic headers to separate freshness from revalidation. No real URL is contacted; only a local handoff note is saved.
HTTP cache / validator / 304
Use synthetic headers to separate freshness from revalidation. No real URL is contacted; only a local handoff note is saved.
ETag is a representation validator, Last-Modified is a date validator, and Cache-Control describes freshness and revalidation. A 304 is returned when a conditional request validator matches.
ETag + If-None-Match → 304 / Last-Modified + If-Modified-Since → 304 / Cache-Control: no-cache → revalidate before use / Cache-Control: max-age → fresh until stale| Axis | Review |
|---|---|
| ETag | Compare the representation identifier with If-None-Match. |
| Last-Modified | Compare the date with If-Modified-Since. |
| no-cache | It requires validation before use; it is not no-store. |
| max-age | The response is fresh until the age expires. |
This page does not contact a real server. Review live delivery settings with service logs and an approved procedure.
| case | result |
|---|---|
etag-match-304 | 304 Not Modified |
last-modified-304 | 304 Not Modified |
cache-control-no-cache | Revalidate |
cache-control-max-age | Fresh until stale |
validator-mismatch | 200 OK / new representation |
unsupported-network-request | Reject |