HTTP Cache-Control deep dive: max-age, s-maxage, must-revalidate, immutable, and stale-while-revalidate
Cache-Control has more than ten directives, and their combinations completely change browser and CDN behavior. This article walks through the directives by role — store-or-not, freshness, revalidation, stale-serving — and how the major CDNs differ in interpretation.
· 5 min read