max-age

The Cache-Control directive that says how many seconds a stored response stays fresh.

In more detail

With max-age=0 a cache may keep the answer but must validate it with the server before every reuse. Larger values let caches answer without contacting the server at all until the time runs out.

Related terms

Taught in

References