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 AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung Internet
Basic supportChrome Full support YesEdge Full support YesFirefox Full support YesIE Full support YesOpera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesEdge Mobile 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

参见

文档标签和贡献者

标签: 
此页面的贡献者: fscholz, crper, WayneCui
最后编辑者: fscholz,