2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

俺のキャッシュまとめ

Last updated at Posted at 2022-06-03

この記事は個人ブログに移行しました。最新情報はブログ版をご覧ください。

要点

  • レスポンス — Cache-Control max-age レスポンスが生成されてから最大 N 秒までキャッシュしていいか キャッシュしてからの時間ではないので注意! キャッシュの残り有効時間 = max-age - Age no-cache キャッシュしていいけど、利用する前にオリジンサ...
  • リクエスト — Cache-Control (カンマ区切りで複数指定可) no-cache キャッシュを利用する前にオリジンサーバーに更新がないか必ず確認してね ブラウザのスーパーリロード時はこれ! no-store キャッシュ保存しないでね!
  • 共有キャッシュ — Cloud Front キャッシュ使用 x-cache: Hit from cloudfront 未使用 x-cache: Miss from cloudfront

もっと詳しく

  • ブログではコード全文や補足資料を継続的に更新しています
  • 気になる点があればコメントください🙌
2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?