Open In App

HTTP headers | Age

Last Updated : 31 Oct, 2019
Improve
Improve
Like Article
Like
Save
Share
Report

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.

Syntax:

age: <delta-seconds>

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.

Example:

age: 128404
age: 1859070

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
  • Firefox
  • Safari
  • Opera

Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads