1this.addEventListener('activate', function(event) { 2 var cacheWhitelist = ['v2']; 3console.log(3333); 4 event.waitUntil( 5 caches.keys().then(function(keyList) { 6 return Promise.all(keyList.map(function(key) { 7 if (cacheWhitelist.indexOf(key) === -1) { 8 console.log(3322); 9 return caches.delete(key); 10 } 11 })); 12 }) 13 ); 14});
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.