What is the proper way to delay a service worker update check?
Advertisements I’d like to only have the service worker update check occur eg 5 mins into the app being used. Problem is that because it’s wrapped in window.addEventListener(‘load’, async () => { navigator.serviceWorker.register("/serviceWorker.js"); const registration = await navigator.serviceWorker.getRegistration(); it starts its checks at load time. To get around it I put the service worker init… Read More What is the proper way to delay a service worker update check?