Age
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
The HTTP Age
response header indicates the time in seconds for which an object was in a proxy cache.
The header value is usually close to zero.
If the value is 0
, the object was probably fetched from the origin server; otherwise, the value is usually calculated as a difference between the proxy's current date and the Date
general header included in the HTTP response.
Header type | Response header |
---|---|
Forbidden header name | No |
Syntax
http
Age: <delta-seconds>
Directives
<delta-seconds>
-
A non-negative integer that represents the time in seconds for which the object was in a proxy cache.
Examples
http
Age: 24
Specifications
Specification |
---|
HTTP Caching # field.age |
Browser compatibility
BCD tables only load in the browser