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

Documentation

Specification

Editor's draft

Status in Chromium

Blink>ServiceWorker


In development (launch bug)

Consensus & Standardization

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

Owner

Last updated on 2017-06-21