Stale-while-revalidate was proposed by Mark Nottingham and standardized in RFC 5861 in 2010; it has since become a first-class feature of major CDNs and a standard recommendation for high-traffic sites.
Mark Nottingham, one of the most influential figures in HTTP caching, proposed the directive to solve a specific problem: a CDN edge that has a cached copy approaching expiry, and a burst of traffic hitting it simultaneously. Under default caching, every request in the burst triggers a revalidation, all at once, hammering the origin. SWR was designed to break that thundering herd: serve one stale copy, revalidate once, and let the origin handle a single request instead of a thousand.
RFC 5861 (2010) formalized the directive alongside stale-if-error. It was adopted relatively slowly — CDN support arrived first (Fastly, Cloudflare, Akamai), browser support followed but remains partial. By the 2020s, SWR was a standard recommendation in web performance literature and a default feature of most edge caching platforms. The general concept — "serve stale, revalidate in background" — has since been adopted in areas far beyond HTTP caching: React's SWR library, which uses the same name, applies the concept to data fetching in UI components.
The stale-while-revalidate cache directive allows a cache to serve a stale response while it revalidates the response in the background, reducing latency for the end user and load on the origin server.
— Nottingham, M., *RFC 5861: HTTP Cache-Control Extensions for Stale Content*, 2010