If a user visit the website on the first time, the browser would download index.html first, and then register the service worker.
But what if we roll out a new version right after the user gets the index.html, but before fetching the server-worker.js? The user would get a server-worker.js whose version doesn't match the index.html.
The only solution I can think of is that stop claiming clients automatically if we find the versions mismatch. Is there any better solution to handle this situation?