Resources/Engineering

Understanding Service Worker Lifecycle Events

Published

Install, activate, and fetch are the three moments that decide whether a returning visitor sees the new shell or the one already on disk.

Skip waiting only after the page can tolerate a controller change. Otherwise queue the update and apply it on the next navigation so carts, drafts, and open forms survive.

Written by Alex Thorne

Chief Architect at OnePWA.

Related Articles