Create stub content for responding to requests when offline
Closed this issue · 2 comments
spudly commented
The service worker should gracefully handle requests when offline. This means that if the page wants an image or a document or something, the service worker should provide stub images / documents so that it doesn't just break the app.
spudly commented
Created stub image. Still need to create a stub page.
Also need to determine how to choose between content/image. My initial thought was to look at the request accept header, but it's not being passed 😢
spudly commented
The website is no longer a PWA, so this is unnecessary.