undefinedfix
Sign in

Why should service worker be placed in the window.onload How to register?

gurukiranx edited in Fri, 25 Nov 2022

The service worker is a special kind of web worker, so it should run outside the main thread. When the page is loaded, the service worker should not block the main thread, so why should it be placed outside the main thread window.onload How to carry out it?

0 Replies