commit | 39970a79fb0f27170b039a0eb371ed8c36ece484 | [log] [tgz] |
---|---|---|
author | Matt Falkenhagen <falken@chromium.org> | Tue May 15 08:03:00 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue May 15 08:03:00 2018 |
tree | f9b73ad22ea09c02c3fe43c1f0fd7cd5b2dfbd24 | |
parent | f534543c867d6bfdb328761f43d72361ed3d0272 [diff] |
service worker: Enable ServiceWorkerRegistration#updateViaCache by default. This ships updateViaCache which controls whether the browser cache is used for service worker update checks. Importantly, this changes the default behavior, since the default value of updateViaCache is 'imports', which skips the browser cache for the main service worker script and uses it only for import scripts. However, actually checking import script contents for updates is not yet implemented, so effectively the default is 'none': https://crbug.com/648295. Thanks to Emma Haruka Iwao (yuryu@) for doing the bulk of the implementation work. Intent to ship: https://groups.google.com/a/chromium.org/d/msg/blink-dev/RwjXGTAbuuA/7Q3NPlJ4BAAJ Bug: 675540 Change-Id: Ifdbaaa76b028e07ac26b9db28d9c59c7b8bd055f Reviewed-on: https://chromium-review.googlesource.com/1056756 Commit-Queue: Matt Falkenhagen <falken@chromium.org> Reviewed-by: Kent Tamura <tkent@chromium.org> Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org> Cr-Commit-Position: refs/heads/master@{#558639}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .