angular-docs-cn/aio/content
Alex Rickabaugh 20e1cc049f fix(service-worker): check for updates on navigation
Currently the Service Worker checks for updates only on SW startup,
an event which happens frequently but also nondeterministically. This
makes it hard for developers to observe the update process or reason
about how updates will be delivered to users. This problem is
exacerbated by the DevTools behavior of keeping the SW alive
indefinitely while opened, effectively preventing the page from
updating at all.

This change causes the SW to additionally check for updates on
navigation requests (app page reloads). This creates deterministic
update behavior, and is much easier for developers to reason about.
It does leave the old update-on-SW-startup behavior in place, as
removing that would be a breaking change.

Fixes #20877
2017-12-15 15:19:20 -08:00
..
examples docs(aio): add service worker guide content and update nav (#20736) 2017-12-06 06:52:20 -08:00
guide fix(service-worker): check for updates on navigation 2017-12-15 15:19:20 -08:00
images docs(aio): add service worker guide content and update nav (#20736) 2017-12-06 06:52:20 -08:00
marketing docs: add We Are One Sàrl as onsite training (#20714) 2017-12-05 21:48:41 -08:00
tutorial docs(aio): fix numbering of the three ways to access hero details (#20647) 2017-12-05 21:54:34 -08:00
file-not-found.md feat(aio): add search to 404 page (#19682) 2017-10-13 09:18:42 -07:00
license.md docs(aio): fix missing title warnings 2017-05-03 13:42:10 -07:00
navigation.json docs(aio): add service worker guide content and update nav (#20736) 2017-12-06 06:52:20 -08:00