HTTP Cache-Control 徹底解説:max-age・s-maxage・must-revalidate・immutable・stale-while-revalidate の使い分け
HTTP の Cache-Control ヘッダには 10 種類以上のディレクティブがあり、組み合わせで挙動が大きく変わります。本記事では実務でよく使う max-age / s-maxage / no-cache / no-store / must-revalidate / immutable / stale-while-revalidate などの違いと、CDN・ブラウザでの解釈差を整理します。
· 約12分