...

/

The Cache-with-Network-Fallback strategy

The Cache-with-Network-Fallback strategy

Understand how to fall back to the network when the requested resource is not found in the cache.

We'll cover the following...

Background

The cache-with-network-fallback strategy prioritizes cache over the network for its asset requirements. One major benefit of this strategy is that the app loads quickly even if we’re online because the app shell is already cached during pre-caching.

However, there’s also a disadvantage to this strategy. Let’s suppose any ...