PWA fails to load
Posted: Wed Jul 28, 2021 6:31 am
I have a VL Web page built out and working well.
Tried to turn on PWA feature by changing the Offline Support from None to Web App Manifest / Service Worker like I did for a small sample test web page. Compiled and checked in.
The web page now will not load, with this error listed in the Chrome dev console:
Uncaught (in promise) TypeError: Failed to execute 'Cache' on 'addAll': Request failed p1mmain.sw.js:1
I am not familiar enough with the javascript to know what this error is trying to tell me what is wrong.
Anyone have some insights on what I need to correct with my VL Web page in order for it to work as a PWA?
Notes:
The server is set for HTTPS.
I believe I have the two image files loaded in the correct directory (at least I am not getting or seeing a 404 error on the image file names).
I left the cache defaults alone as they are all listed in the Derived App Cache Entries. Meaning I have not gone in and done any changes or edits as to where the app should look for cached items.
Tried to turn on PWA feature by changing the Offline Support from None to Web App Manifest / Service Worker like I did for a small sample test web page. Compiled and checked in.
The web page now will not load, with this error listed in the Chrome dev console:
Uncaught (in promise) TypeError: Failed to execute 'Cache' on 'addAll': Request failed p1mmain.sw.js:1
I am not familiar enough with the javascript to know what this error is trying to tell me what is wrong.
Anyone have some insights on what I need to correct with my VL Web page in order for it to work as a PWA?
Notes:
The server is set for HTTPS.
I believe I have the two image files loaded in the correct directory (at least I am not getting or seeing a 404 error on the image file names).
I left the cache defaults alone as they are all listed in the Derived App Cache Entries. Meaning I have not gone in and done any changes or edits as to where the app should look for cached items.