1// Network-first service worker â always fetch fresh content 2// Caching disabled so app updates are reflected immediately on all devices 3 4self.addEventListener('install', () => { 5 self.skipWaiting(); 6}); 7 8self.addEventListener('activate', (event) => { 9 // Clear any old caches from previous versions 10 event.waitUntil( 11 caches.keys().then((keys) => 12 Promise.all(keys.map((k) => caches.delete(k))) 13 ) 14 ); 15 self.clients.claim(); 16}); 17 18self.addEventListener('fetch', (event) => { 19 // Always go to the network â no caching 20 event.respondWith(fetch(event.request)); 21});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.