1importScripts("https://assets.traveltriangle.com/desktop_assets/build/precache-manifest.126bf01f71785ca8f6a1fb36e1475645.js", "https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js"); 2 3importScripts('https://ssl.widgets.webengage.com/js/service-worker.js'); 4 5workbox.skipWaiting(); 6workbox.clientsClaim(); 7workbox.core.setCacheNameDetails({ 8 prefix: 'traveltriangle', 9 suffix: 'msiv1' 10}); 11 12workbox.precaching.precacheAndRoute(self.__precacheManifest); 13 14workbox.routing.registerRoute( 15 /.*(\/browsing\/v1\/(?!user\/status)|\/agents\/v2\/layout|\/agents\/v2\/banner_alerts).*/, 16workbox.strategies.staleWhileRevalidate({ 17 cacheName: 'apis-cache', 18 plugins: [ 19 new workbox.expiration.Plugin({ 20 maxAgeSeconds: 1 * 24 * 60 * 60 // 1 Days 21 }) 22 ] 23})); 24 25workbox.routing.registerRoute(/.*woff/, workbox.strategies.cacheFirst({ 26 cacheName: 'fonts-cache', 27 plugins: [ 28 new workbox.expiration.Plugin({ 29 maxAgeSeconds: 1 * 24 * 60 * 60 // 1 Days 30 }) 31 ] 32})); 33 34workbox.routing.registerRoute(/(\/$|\/\?.*$)/, workbox.strategies.networkFirst({ 35 cacheName: 'pages-cache', 36 plugins: [ 37 new workbox.expiration.Plugin({ 38 maxAgeSeconds: 1 * 24 * 60 * 60 // 1 Days 39 }) 40 ] 41})); 42
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.