You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Service worker assets group installMode: lazy updateMode: lazy doesn't work as expected #25283
[ ] Regression (a behavior that used to work and stopped working in a new release)
[X] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
[ ] Other... Please describe:
Current behavior
With installMode:lazy updateMode: lazy configurations, the service workers downloads all assets.
Expected behavior
With that configuration. installMode: lazy, I expected the service worker only caches requests of assets that the applications requests. That's the behavior described in docs.
With updateMode: lazy, I expected the service worker update only cached files, and not the whole files.
Minimal reproduction of the problem with instructions
Build and run in production, the service worker will caches all assets.
What is the motivation / use case for changing the behavior?
Environment
Angular version: 5.2.11
Browser:
- [X] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: XX 8.9.4
- Platform: Mac
Others:
This should have been fixed by #24127. If this is still an issue with the latest version, please open a new issue, providing the necessary details (including a minimal reproduction).
Activity
gkalpak commentedon Aug 3, 2018
This should have been fixed by #24127. If this is still an issue with the latest version, please open a new issue, providing the necessary details (including a minimal reproduction).
Serginho commentedon Aug 3, 2018
Ok. I'm seeing it was fixed on 6.1.0 Thx
angular-automatic-lock-bot commentedon Sep 13, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.