PageSourceSearch

https://www.sckcen.be/sw.js

js sckcen.be collected 2026-10-02 03:34:50 UTC 800 bytes, 38 lines download raw bytes

1importScripts('https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js');
2
3// Cache CSS
4workbox.routing.registerRoute(
5  new RegExp('sites/default/files/*\.css$'),
6  new workbox.strategies.CacheFirst({
7    cacheName: 'css',
8  })
9);
10
11// Cache JS
12workbox.routing.registerRoute(
13  new RegExp('sites/default/files/*\.js$'),
14  new workbox.strategies.CacheFirst({
15    cacheName: 'js',
16  })
17);
18
19// Cache images
20workbox.routing.registerRoute(
21  new RegExp('sites/default/files/*\.(png|jpg|gif)$'),
22  new workbox.strategies.CacheFirst({
23    cacheName: 'images',
24  })
25);
26
27// Cache fonts
28workbox.routing.registerRoute(
29  new RegExp('\.woff2$'),
30  new workbox.strategies.CacheFirst({
31    cacheName: 'fonts',
32  })
33);
34
35
36if (navigator.doNotTrack !== "1") {
37  workbox.googleAnalytics.initialize();
38}

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.