1// Dummy service worker with bare minimum to be 'installable' as a PWA 2// Doesn't actually cache any content, as in practice there's almost nothing 3// on the Alltrade site that can be usefully cached, so caching just interferes 4// with debugging. 5 6self.addEventListener('install', event => { 7 console.log('Installing service worker'); 8 self.skipWaiting(); 9}); 10 11self.addEventListener('activate', event => { 12 console.log('Activating service worker'); 13}); 14 15self.addEventListener('fetch', event => {});
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.