-
Notifications
You must be signed in to change notification settings - Fork 12k
Service Worker not caching anything #10361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@GaryB432 can you try I think I fixed this with angular/devkit#709 but there might be more leftover cases. |
Thanks for looking. I will get to this soon since I can only work on this cool stuff in my spare time. Looking at your related merge I see '@angular/pwa'. Should I be using that instead of rolling SW by hand? See https://stackoverflow.com/questions/49880891/how-to-use-the-angular-pwa-schematics-library |
The repo above is now using However
|
The Closing. Please, open a new issue if there are still problems/things to be improved. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Versions
Repro steps
visit http://localhost:8080 and reload/clear until the sw registers
Observed behavior
Chrome Dev Tools shows
Desired behavior
I expected
IndexedDB
andCache Storage
to contain some entries like in 1.7Mention any other details that might be useful (optional)
I notice
ngsw.json
is quite different but I believe it used to contain the hashed names.safety-worker
? I want to build a 'kill-switch' and I suppose that is safety-worker's purpose. Is a kill-switch already built-intongsw.worker.js
?The text was updated successfully, but these errors were encountered: