If you have worked with Service Workers, you may have run into some issues with previous Service Workers still being in control of a document, even though the file itself has been updated. The reason for this is to do with some nuances in the lifecycle of the Service Worker; it may be installed and valid, but not yet actually in control of the document. A Service Worker can be in one of the follow
![The Service Worker Lifecycle](https://cdn-ak-scissors.b.st-hatena.com/image/square/f8174882ea725b04e0e067f0051b0d22f7309873/height=288;version=1;width=512/https%3A%2F%2Fbitsofco.de%2Fassets%2Ficons%2Ficon_128.png%3Fv%3D05153cb11d)