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): 缓存 |
浏览器兼容情况
BCD tables only load in the browser