1const staticEatwel101 = "dev-eatwell101-v1" 2const assets = [ 3 "/", 4 "/index.html", 5 "https://www.eatwell101.com/wp-content/themes/thesis_185/style.css", 6 "https://www.eatwell101.com/wp-content/themes/thesis_185/custom.css", 7 8 9] 10 11self.addEventListener("install", installEvent => { 12 installEvent.waitUntil( 13 caches.open(staticEatwel101).then(cache => { 14 cache.addAll(assets) 15 }) 16 ) 17}) 18 19 20 21self.addEventListener("fetch", fetchEvent => { 22 fetchEvent.respondWith( 23 caches.match(fetchEvent.request).then(res => { 24 return res || fetch(fetchEvent.request) 25 }) 26 ) 27 })
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.