// In development, always fetch from the network and do not enable offline support. // This is because caching would make development more difficult (changes would not // be reflected on the first load after each change). // install event self.addEventListener('install', evt => { console.log("Service-Worker has been installed."); }); // activate event self.addEventListener('activate', evt => { console.log("Service-Worker has been activated."); }); self.addEventListener('fetch', () => { });