HTTP Cache-Controlディレクティブ一覧
HTTP Cache-Controlで使う代表的なディレクティブを、要求/応答の適用範囲と意味で整理した非公開検証用データ。
更新履歴(1回)
- 2026-06-18T09:29:23+09:00 / 16行 / 新規作成:HTTP Cache-Control表
列表示ON/OFF
読み込み中...
| directive | applies_to | argument | meaning_ja | reference_note |
|---|---|---|---|---|
| max-age | request/response | delta-seconds | 鮮度寿命の最大秒数を指定する | RFC 9111 |
| s-maxage | response | delta-seconds | 共有キャッシュ向けの最大鮮度秒数を指定する | RFC 9111 |
| no-cache | request/response | optional field-name | 再利用前に検証を要求する | RFC 9111 |
| no-store | request/response | none | 保存しないことを要求する | RFC 9111 |
| must-revalidate | response | none | 期限切れ応答の再検証を要求する | RFC 9111 |
| proxy-revalidate | response | none | 共有キャッシュに再検証を要求する | RFC 9111 |
| private | response | optional field-name | 共有キャッシュに保存させない | RFC 9111 |
| public | response | none | 共有キャッシュへの保存を許可する | RFC 9111 |
| no-transform | request/response | none | 中継者による変換を禁止する | RFC 9111 |
| max-stale | request | optional delta-seconds | 期限切れ応答の受け入れ範囲を指定する | RFC 9111 |
| min-fresh | request | delta-seconds | 指定秒数以上新鮮な応答を要求する | RFC 9111 |
| only-if-cached | request | none | キャッシュ済み応答だけを要求する | RFC 9111 |
| must-understand | response | none | 状態コードのキャッシュ要件を理解する場合のみ保存を許可する | RFC 9111 |
| immutable | response | none | 鮮度期間中は内容が変化しないことを示す | RFC 8246 |
| stale-while-revalidate | response | delta-seconds | 再検証中に期限切れ応答を使える時間を示す | RFC 5861/RFC 9111関連 |
| stale-if-error | request/response | delta-seconds | エラー時に期限切れ応答を使える時間を示す | RFC 5861/RFC 9111関連 |