This sound like you need a Network First strategy which is not mention in the cookbook. This strategy is similar to Network falling back to cache but additionally stores the response always in the cache.


Code sample (if you don't use workbox):

Related Query

More Query from same tag