Age
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
Age
標頭包含物件在代理快取中的時間(以秒為單位)。
Age
標頭通常接近零。如果是 Age: 0
,則可能是從原始伺服器提取的;否則,通常是作為代理的當前日期和 HTTP 回應中包含的 Date
通用標頭之間的差異計算的。
語法
http
Age: <delta-seconds>
指令
- <delta-seconds>
-
一個非負整數,表示物件在代理快取中的時間(以秒為單位)。
範例
http
Age: 24
規範
Specification |
---|
HTTP Caching # field.age |
瀏覽器相容性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Age |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.