Adrian Aichner <mailto:adrian.aich...@gmail.com>
2016 March 2 at 12:13
The use case I need to get working is when I need to restart the browser or the 
device while offline.

How do I get to my progressive web app while still offline?

It could function perfectly well, as in the case when I go offline with the app 
running, but there is just no way to get to it until I go online again.
Hmm, provided your service worker has cached your app's "start URL" (a.k.a. home page), then navigating to that URL (via a bookmark, by typing the URL into the location bar, or in any other way) should reload the page from the service worker, so you should be able to get back to your app without going online again. And that should work across browser sessions, so you should be able to return to your app after restarting the browser (or the OS/device).

I'd check to verify that the service worker is caching that page. And, if so, that Firefox starts the service worker when you load the page, and that the service worker is intercepting the load request and returning the file from its cache.

-myk

_______________________________________________
dev-webapps mailing list
dev-webapps@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-webapps

Reply via email to