Age

Age 消息头里包含对象在缓存代理中存贮的时长,以秒为单位。.

Age的值通常接近于0。表示此对象刚刚从原始服务器获取不久;其他的值则是表示代理服务器当前的系统时间与此应答中的通用头 Date 的值之差。

报头类型 Response header
Forbidden header name no

语法

Age: <delta-seconds>

指令

<delta-seconds>

一个非负整数,表示对象在缓存代理服务器中存贮的时长,以秒为单位。

示例

Age: 24

规范

规范 标题
RFC 7234, section 5.1: Age 超文本协议 (HTTP/1.1): 缓存

浏览器兼容情况

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
AgeChrome Full support YesEdge Full support 12Firefox Full support YesIE Full support YesOpera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes

Legend

Full support  
Full support

参见