1self.addEventListener('fetch', function(event) { 2 event.respondWith( 3 caches.match(event.request) 4 .then(function(response) { 5 // Cache hit - return response 6 if (response) { 7 return response; 8 } 9 return fetch(event.request); 10 } 11 ) 12 ); 13});
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.