The recipe provides a service worker always answering from cache on
For a given version of your site, you have static content that never changes such as the shell around the content.
Add static content during the installation of the service worker and use the cache to retrieve it whether the network is available or not.
Has it been useful?
Tell us what you think of this recipe by leaving a comment!