Open In App
Related Articles

HTTP headers | Age

Improve Article
Improve
Save Article
Save
Like Article
Like

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
Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 31 Oct, 2019
Like Article
Save Article
Previous
Next
Similar Reads
Complete Tutorials