Caching
stale-while-revalidate
A Cache-Control directive allowing a stale response to be served immediately while a refresh happens in the background.
Why interviewers ask about it
Removes expiry-driven latency spikes and edge stampedes at once. Arguably the highest-value HTTP caching directive.
This term is part of the free System Design interview preparation module - browse the full glossary for every definition.