updateViaCache enum and no-cache by default for main service worker scripts

updateViaCache is an attribute on ServiceWorkerRegistration that controls whether the browser cache (the HTTP cache) is used when performing an update check. Service workers consist of a main script and possibly imported scripts. The service worker update check involves fetching the current scripts and comparing them to the installed scripts. This intent to ship concerns whether fetching the current scripts uses or bypasses the browser cache. Currently the update check uses the browser cach



Editor's draft

Status in Chromium


In development (tracking bug)

Consensus & Standardization

  • In development
  • In development
  • No public signals
  • Positive


Last updated on 2017-09-17