title: How to update service workers?
body: <p>Situation:</p>
  
  <p>On mywebsite.com/game, I registered a service-worker with</p>
  
  <p><code>navigator.serviceWorker.register('/service-worker.js', {scope: "/"});</code></p>
  
  <p>On my server, <code>'/service-worker.js'</code> has a maxAge of <code>1d</code>.</p>
  
  <hr>
  
  <p>Problem: </p>
  
  <p><code>service-worker.js</code> has a major bug. It always displays an empty page and can't fetch anything. <code>service-worker.js</code> must be changed.</p>
  
  <p>The problem is whenever a user goes to <code>mywebsite.com/game</code>, it displays the empty page and does nothing more. I am unable to make the client fetch the new <code>service-worker.js</code>.</p>
  
  <p>How can I make the client fetch the new <code>service-worker.js</code>?</p>