From a7659087cce7e83e05f0cf725333bc98a7086cff Mon Sep 17 00:00:00 2001 From: Artyom Liou <10079456+artyomliou@users.noreply.github.com> Date: Tue, 27 Apr 2021 22:35:32 +0800 Subject: Initial web/http/headers/age (zh-TW translation) (#664) --- files/zh-tw/web/http/headers/age/index.html | 77 +++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 files/zh-tw/web/http/headers/age/index.html (limited to 'files') diff --git a/files/zh-tw/web/http/headers/age/index.html b/files/zh-tw/web/http/headers/age/index.html new file mode 100644 index 0000000000..adf9feae48 --- /dev/null +++ b/files/zh-tw/web/http/headers/age/index.html @@ -0,0 +1,77 @@ +--- +title: Age +slug: Web/HTTP/Headers/Age +tags: +- Caching +- HTTP +- Response +- header +--- +
{{HTTPSidebar}}
+ +

Age 標頭代表資源進到代理快取後,經過了幾秒。

+ +

Age 標頭通常接近 0。如果你拿到 Age: 0 代表資源剛剛才從後端伺服器抓進來; + 不然通常會是快取當下與回應中 {{HTTPHeader("Date")}} 標頭的時間差。

+ + + + + + + + + + + + +
Header type{{Glossary("Response header")}}
{{Glossary("Forbidden header name")}}no
+ +

語法

+ +
Age: <秒數差>
+
+ +

指令

+ +
+
<秒數差>
+
+

正整數,代表資源在代理快取放幾秒了。

+
+
+ +

範例

+ +
Age: 24
+ +

Specifications

+ + + + + + + + + + + + +
SpecificationTitle
{{RFC("7234", "Age", "5.1")}}Hypertext Transfer Protocol (HTTP/1.1): Caching
+ +

Browser compatibility

+ + + +

{{Compat("http.headers.Age")}}

+ +

See also

+ + -- cgit v1.2.3-54-g00ecf