stale-while-revalidate

A caching strategy that answers immediately from the cache, even if out of date, while fetching a fresh copy in the background for next time.

In more detail

It balances speed and freshness for content like avatars or article lists where being one visit behind is fine. The same name is also a Cache-Control directive with similar meaning for the HTTP cache.

Related terms

Taught in

References