Currently service worker startup does this:
1) Browser asks renderer to start the service worker.
2) The renderer requests the browser to load the service worker script.
3) The browser responds with the service worker script.
It seems this could be faster if:
1) Browser asks renderer to start the service worker.
2) Browser starts loading the script without waiting for the renderer to request it.
3) Browser sends the renderer the script contents.
Comment 1 by falken@chromium.org
, Feb 16 2017