anchor.diff:        var request = evt.request;
         var path = request.url.split("//")[1].split("/").slice(1,1000).join("/");
   
  -      if (request.method === "GET" && path != "heartbeat" && !path.match(/\.jpg(\?\d*)?$/)) {
  +      if (request.method === "GET" && !path.match(/\.jpg(\?\d*)?$/) && !path.match(/collections\/(\d+)\/works/i)) {
           evt.respondWith(
             fetch(request).then(function(response){
               caches.open(CACHE).then(function(cache) {
  
positive.code:   evt.waitUntil(precache());
  });
  
  self.addEventListener("fetch", function(evt) {
    if (evt.respondWith) {
      var serveCachedAsset = CACHE_TYPES.map(function(a){
        return evt.request.url.endsWith(a) || evt.request.url.endsWith(a+"?body=1");
        }).includes(true);
  
      if (serveCachedAsset) {
        // console.log("The service worker is serving the asset: "+evt.request.url);
        evt.respondWith(fromCache(evt.request));
        evt.waitUntil(update(evt.request));
      }
  
negative.code: var CACHE = "cache-and-update10";
  var CACHE_TYPES = [".json", ".js", ".css", ".svg"];
  var OFFLINE_CACHE = "offline-cache";
  
  