angular-docs-cn/packages/service-worker/config/src
Alex Rickabaugh 90d1423fb4 fix(service-worker): include versionedFiles in the manifest hashTable (#19837)
There is no difference in runtime (yet) between versioned and unversioned
files. Theoretically, the SW does not have to cache-bust versioned files,
but the SW doesn't cache bust files on the first request anyway, so in the
common case it doesn't matter. If the hash doesn't match, the SW will cache
bust the file to be sure, which is technically unnecessary, but since the
file itself is versioned, the likelihood of this happening is rare.

This fixes a critical bug where versioned files were erroneously not included
in the hashTable in the generated manifest. This could lead to applications
not updating if only versioned files changed in between versions.

PR Close #19837
2017-10-23 15:11:38 -04:00
..
duration.ts feat(service-worker): introduce the @angular/service-worker package (#19274) 2017-09-28 16:18:12 -07:00
filesystem.ts fix(service-worker): several misc fixes for corner cases 2017-10-05 13:27:31 -07:00
generator.ts fix(service-worker): include versionedFiles in the manifest hashTable (#19837) 2017-10-23 15:11:38 -04:00
glob.ts fix(service-worker): several misc fixes for corner cases 2017-10-05 13:27:31 -07:00
in.ts feat(service-worker): introduce the @angular/service-worker package (#19274) 2017-09-28 16:18:12 -07:00