aboutsummaryrefslogtreecommitdiff
path: root/static/js/sw.js
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2019-11-01 17:48:19 -0400
committerGitHub <noreply@github.com>2019-11-01 17:48:19 -0400
commit5f4ee89e57060dc9c119d84ac5700784c343b8d9 (patch)
tree2a18debdceae9d538d0e9a9c451c10022de472ee /static/js/sw.js
parent42371916d83af7fc2e4ca053d963e6cfab15a8f1 (diff)
downloadxesite-5f4ee89e57060dc9c119d84ac5700784c343b8d9.tar.xz
xesite-5f4ee89e57060dc9c119d84ac5700784c343b8d9.zip
Art gallery (#91)
* implement art gallery * update dates * gallery: update tags * gofmt * templates/gallerypost: add hashtags
Diffstat (limited to 'static/js/sw.js')
-rwxr-xr-xstatic/js/sw.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/static/js/sw.js b/static/js/sw.js
index 62722a6..0fa1e3e 100755
--- a/static/js/sw.js
+++ b/static/js/sw.js
@@ -5,13 +5,13 @@ self.addEventListener('install', function(event) {
event.waitUntil(preLoad());
});
-const cacheName = "cache-2019-10-15";
+const cacheName = "cache-2019-11-01";
var preLoad = function(){
console.log('[PWA Builder] Install Event processing');
return caches.open(cacheName).then(function(cache) {
console.log('[PWA Builder] Cached index and offline page during Install');
- return cache.addAll(['/blog/', '/blog', '/', '/contact', '/resume', '/talks']);
+ return cache.addAll(['/blog/', '/blog', '/', '/contact', '/resume', '/talks', '/gallery']);
});
};