Understand the date and age in the HTTP Response Header

Source: Internet
Author: User

Date: The date header field indicates the message sending time. The description format of the time is defined by rfc822. For example, Date: Mon, 31 Dec 2001 04: 25: 57gmt.

Age: When the current server uses its own cached entities to respond to requests, this header indicates that the object is generated fromHow long has it been.

 

 

For example, when you access http://www.yahoo.com/, dateis Fri, 09 Jul 2010 02:02:02 GMT, And it is marked as pagedate.

 

Look at one of the Request http://l.yimg.com/a/ I /mntl/ww/events/p.gif,

Date is wed, 07 Jul 2010 20:53:31 GMT, age is 104913,104913 seconds is converted to 29.1425 hours, date plus age is equal to pagedate, indicating that the current p.gif request is cached by the proxy server and the cache hits.

 


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.