Skip to content
Networking·Intermediate·Conceptual·1 min read

How does stale-while-revalidate help?

Short interview answer

It permits serving a stale response within a defined window while revalidation happens in the background, improving latency at the cost of bounded staleness. It suits data where that trade-off is acceptable.

Key takeaway

Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.

← Back to HTTP caching

Related questions