Caching, Caches & CDNs (wire view)
Read this concept as one more decision made about a packet in flight. The widget below lets you change the inputs and watch the consequence instead of memorising the rule.
Why it matters
Caches reuse responses without originating a new request, and the instructions permitting that reuse are carried in header fields. The wire view shows which bytes caused a hit, a revalidation, or a full fetch.
On the wire
Responses carry Cache-Control directives, ETag, Last-Modified, Age, and Via; clients send If-None-Match or If-Modified-Since to revalidate. A conditional request that is still fresh returns a small 304 response with no body, while a miss pulls the full payload from the origin or a cache peer.
When it breaks
A missing or wrong Vary header lets a cache serve a response tailored to one client to another. A cache that ignores max-age serves stale content, and a flood of revalidations can overload an origin even though no full bodies are transferred.
Header inspector
Click a field to read what it controls, then change the values that a router or receiver would see.