0

In the article “Fresher service workers, by default”, Jeff Posnick mentions:

Every time […] a service worker is "woken up" via a push or sync event, the browser will, in parallel, request […] updates to the service worker script.

Is it actually part of the W3C Service Workers Spec? I can’t seem to find it in the current Nightly draft.

Since when this has been supported by Chrome? How about other browsers?

sideshowbarker
  • 81,827
  • 26
  • 193
  • 197
Eric Redon
  • 1,712
  • 12
  • 21
  • It’s not part of the Service Workers spec — it’s in the Push API spec. For the high-level details, see https://w3c.github.io/push-api/#push-message and https://w3c.github.io/push-api/#pushframework and – sideshowbarker Oct 17 '18 at 21:52
  • Thank you @sideshowbarker for pointing me out to the Push API spec. However, I can not find any explicit mention of when exactly and event-triggered update of the Service Worker will be requested. The only uses of the word _“version”_ refer to the spec itself… – Eric Redon Oct 21 '18 at 19:10

0 Answers0