The HTTP header Age defines the times in seconds of the object that have been in the proxy cache. Usually, the age header is close to zero. It is just summoned from the server, used to calculate the proxies’ current date and the date. It is a response header.
Directives: This header accepts single directive as mentioned above and described below:
- <delta-seconds>: This directive defines a non-negative integer of the time in second unit of the object that has been in a proxy cache. Time can not be negative.
To check the age in action go to Inspect Element -> Network check the request header for age like below, age is highlighted.
Supported Browsers: The browsers compatible with HTTP header Age are listed below:
- Google Chrome
- Internet Explorer
- HTTP headers | Access-Control-Expose-Headers
- HTTP headers | Access-Control-Request-Headers
- HTTP headers | Access-Control-Allow-Headers.
- HTTP Headers | TE
- HTTP headers
- HTTP headers | Via
- HTTP headers | Allow
- HTTP headers | Expect
- HTTP headers | SourceMap
- HTTP headers | If-Unmodified-Since
- HTTP headers | Expect-CT
- HTTP headers | Digest
- HTTP headers | Retry-After
- HTTP headers | expires
- HTTP headers | Set-Cookie
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.