If I am offline..no internet connection and I open my PWA via Safari iOS, from its home screen icon I get a message ..No internet connection etc. Should my PWA not work offline on initial opening? It does work off line after I open it first while being online. Is this correct behaviour? Should it not work offline at all times after initial registering of the service worker? Here is my service worker code: "…. caches.open(cacheName).then(function(cache) { return cache.addAll([ '/'///my host is https:username.hostname.io//directory path to project folder '/index.html',//directory path to project folder/app name.html file …etc other files added.The PWA works well except not from home screen app icon when offline!
Have I done something incorrect here?
Anyone's help input or advice will be much appreciated. My PWA runs as expected on Edge but Edge has no A2HS icon in iOS Thank you