diff options
Diffstat (limited to 'files/ja/web/http/headers/age/index.html')
-rw-r--r-- | files/ja/web/http/headers/age/index.html | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/files/ja/web/http/headers/age/index.html b/files/ja/web/http/headers/age/index.html new file mode 100644 index 0000000000..f495fa7f7f --- /dev/null +++ b/files/ja/web/http/headers/age/index.html @@ -0,0 +1,74 @@ +--- +title: Age +slug: Web/HTTP/Headers/Age +tags: + - Caching + - HTTP + - ヘッダー + - レスポンス +translation_of: Web/HTTP/Headers/Age +--- +<div>{{HTTPSidebar}}</div> + +<p><code><strong>Age</strong></code> ヘッダーには、プロキシーのキャッシュに入ってからの経過時間(秒)が含まれています。</p> + +<p><code>Age</code> ヘッダーは通常0に近い値となっています。もし <code>Age: 0</code> であるなら、 おそらくオリジンサーバーからフェッチされただけでしょう。 それ以外の場合は、一般的にプロキシーの現在の日時とHTTPレスポンスに含まれていた{{HTTPHeader("Date")}} ヘッダーとの差分から算出されます。</p> + +<table class="properties"> + <tbody> + <tr> + <th scope="row">ヘッダー種別</th> + <td>{{Glossary("Response header","レスポンスヘッダー")}}</td> + </tr> + <tr> + <th scope="row">{{Glossary("Forbidden header name", "禁止ヘッダー名")}}</th> + <td>いいえ</td> + </tr> + </tbody> +</table> + +<h2 id="構文">構文</h2> + +<pre class="syntaxbox">Age: <delta-seconds> +</pre> + +<h2 id="ディレクティブ">ディレクティブ</h2> + +<dl> + <dt><delta-seconds></dt> + <dd> + <p>オブジェクトがプロキシキャッシュに入っていた時間 (秒単位) を表す負でない整数。</p> + </dd> +</dl> + +<h2 id="例">例</h2> + +<pre>Age: 24</pre> + +<h2 id="仕様">仕様</h2> + +<table class="standard-table"> + <tbody> + <tr> + <th scope="col">仕様書</th> + <th scope="col">タイトル</th> + </tr> + <tr> + <td>{{RFC("7234", "Age", "5.1")}}</td> + <td>Hypertext Transfer Protocol (HTTP/1.1): Caching</td> + </tr> + </tbody> +</table> + +<h2 id="ブラウザの互換性">ブラウザの互換性</h2> + +<p class="hidden">このページの互換表は構造化データから生成されます。データに貢献したい場合は <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> をチェックし、プルリクエストを送信してください。</p> + +<p>{{Compat("http.headers.Age")}}</p> + +<h2 id="関連情報">関連情報</h2> + +<ul> + <li>{{HTTPHeader("Cache-Control")}}</li> + <li>{{HTTPHeader("Expires")}}</li> +</ul> |