Collection 03

Protocols

See how a field changes a request, a response, or a cache decision.

Protocol entries begin with the exchange on the wire and explain what each side is allowed to conclude. Status codes, validators, and records are treated as evidence, not vocabulary.

Index

On this shelf

NameProtocolQuestion
DNS A and AAAA Records Reference DNS What does each record type return, and when is one preferred?
Freshness and Validation in Cache-Control Concept HTTP When can a cache reuse a response without asking the origin?
Strong and Weak ETag Comparison Reference HTTP When may a weak ETag match a representation it does not byte-match?
Why Does an HTTP 304 Response Have No Body? Question & Answer HTTP Where does the body come from when the status is 304?

Topic

HTTP CachingFollow a cached response from first download to revalidation, and see which fields decide whether the body is sent again.

Reading path

A way in

Read the 304 entry for the exchange, then strong and weak ETags for the comparison rule. Finish with Cache-Control to see when the origin is contacted at all.

  1. 01 Why Does an HTTP 304 Response Have No Body?A 304 response has no body because the client already holds the selected representation; the status confirms that the stored body is still valid and refreshes its metadata.
  2. 02 Strong and Weak ETag ComparisonA weak ETag can match a byte-different representation under weak comparison, which ignores the W/ prefix and compares only the opaque tag; strong comparison requires both tags to be strong and identical.
  3. 03 Freshness and Validation in Cache-ControlA cache can reuse a stored response without contacting the origin while that response is fresh; once it is stale, the cache must validate it conditionally unless a directive explicitly allows stale reuse.

All entries

Full catalog