There's a few things to cover here: Multiple Service Workers in a Single Scope There can only be one active service worker for a given scope. If you attempt to register two different service worker scripts that each have the same scope, the second registration will trigger the service worker update flow: // There's an implied default scope of '/'. // See https://stackoverflow.com/a/33881341/385997
![Sharing fetch handler logic defined across multiple service workers](https://cdn-ak-scissors.b.st-hatena.com/image/square/98d6f053a97a87156775f60757c60865d0f2c47d/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Fstackoverflow%2FImg%2Fapple-touch-icon%402.png%3Fv%3D73d79a89bded)