freshness

Whether a cached response may still be used without asking the server: fresh means yes, stale means it must be checked or fetched again.

In more detail

The server sets the fresh lifetime, usually with max-age. Freshness avoids a request altogether, while validation still makes a request but can avoid resending the body.

Example

In the browser: HTTP caches judge freshness from Cache-Control max-age; service worker strategies decide it in code.

Related terms

Taught in

References