Embedded fallback
The recipe provides a service worker serving an embedded content fallback in case of missing resources.
Difficulty
Intermediate
Use Case
You want to make sure the users always receive some content, even if the network is not available.
Solution
Embed fallback content and serve it in case of failure while requesting resources.
Category
Caching strategies
Has it been useful?
Tell us what you think of this recipe by leaving a comment!