Service worker doesn't store manifest from remote cdn #9609
Labels
area: @angular-devkit/build-angular
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
The service worker won't store a remotely hosted manifest.json, event though the request to the manifest results in a 200, and you can read the response in the dev console.
Versions
Repro steps
Set the manifests href in your index.html to a CDN instead of something local. Run the app and you'll see in the network tab of the chrome dev console that your service worker is installed, the request to the manifest succeeds, but the manifest isn't stored.
Observed behavior
The applications tab just says "no manifest detected"
Desired behavior
If I have a manifest's href pointing to
/manifest.json
(local to the app), the service worker picks it up and works as expected.Why am I doing this?
This might seem like an unusual case, but we need remote manifests due to our customers needing some things customized (ie, icons), so we'll need different manifests depending on which customer is using our app.
My issue may be related to this: angular/angular#20405.
The text was updated successfully, but these errors were encountered: