diff options
| author | Christine Dodrill <me@christine.website> | 2019-11-01 17:48:19 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-01 17:48:19 -0400 |
| commit | 5f4ee89e57060dc9c119d84ac5700784c343b8d9 (patch) | |
| tree | 2a18debdceae9d538d0e9a9c451c10022de472ee /static/js/sw.js | |
| parent | 42371916d83af7fc2e4ca053d963e6cfab15a8f1 (diff) | |
| download | xesite-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-x | static/js/sw.js | 4 |
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']);
});
};
|
