1'use strict'; 2 3const CACHE_NAME = 'static-cache-v1'; 4 5const FILES_TO_CACHE = [ 6]; 7 8self.addEventListener('install', (event) => { 9 // ServiceWorker installed 10 11 self.skipWaiting(); 12}); 13 14self.addEventListener('activate', (event) => { 15 // ServiceWorker activated 16 17 self.clients.claim(); 18}); 19 20self.addEventListener('fetch', (event) => { 21 // fetch event handler 22 23});
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.