network-first strategy

A caching strategy that tries the network first for fresh data and falls back to the cached copy only when the request fails.

In more detail

It suits API data and pages that change often. On a slow but working connection users still wait for the network, so a timeout is often added.

Related terms

Taught in

References