angular-docs-cn/packages/service-worker/worker/testing
George Kalpakas 586234bb01 fix(service-worker): detect new version even if files are identical to an old one (#26006)
Previously, if an app version contained the same files as an older
version (e.g. making a change, then rolling it back), the SW would not
detect it as the latest version (and update clients).

This commit fixes it by adding a `timestamp` field in `ngsw.json`, which
makes each build unique (with sufficiently high probability).

Fixes #24338

PR Close #26006
2019-03-05 09:41:44 -08:00
..
BUILD.bazel build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871) 2019-02-28 12:06:36 -08:00
cache.ts fix(service-worker): do not blow up when caches are unwritable (#26042) 2018-09-24 09:53:39 -07:00
fetch.ts feat: add TypeScript 3 support (#25275) 2018-08-27 21:07:53 -04:00
mock.ts fix(service-worker): detect new version even if files are identical to an old one (#26006) 2019-03-05 09:41:44 -08:00
scope.ts fix(service-worker): detect new version even if files are identical to an old one (#26006) 2019-03-05 09:41:44 -08:00