HTTP Cache Headers Playground

Wulan’s shelf of kept replies: Cache-Control and the ETag decide whether a reply comes from the shelf with no trip, is checked with If-None-Match (304), or…

Why it matters

A wrong cache label makes a site slow (nothing cached) or shows users an old version (cached too long). Knowing max-age, no-cache, no-store and the ETag’s part means fast assets that never go stale: the base of web performance.

The key idea

max-age decides how long a copy counts as fresh

Common mistakes

Try it in this playground