Skip to content

Commit

Permalink
Merge pull request #96 from RDjarbeng/updateSW
Browse files Browse the repository at this point in the history
Update Service worker
  • Loading branch information
RDjarbeng authored Apr 30, 2022
2 parents affd800 + c987754 commit 657f380
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions sw.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// #5

const staticCacheName = 'site-static-v37';
const dynamicCache = 'site-dynamic-v37';
const staticCacheName = 'site-static-v39';
const dynamicCache = 'site-dynamic-v39';

const dynamicCacheSize = 30;

Expand All @@ -15,9 +15,11 @@ const assets = [
'/html/countdown-list.html',
'/html/fallback.html',
'/html/form-upload.html',
'/html/today.html',
'/css/styles.css',
'/css/themes.css',
'/css/about.css',
'/css/today.css',
'/css/countdown-list.css',
'/css/form.css',
'/app.js',
Expand All @@ -27,6 +29,7 @@ const assets = [
'/js/formupdate.js',
'/js/error.js',
'/js/form.js',
'/js/today.js',
'/img/icons/chrome192.png',
'/img/icons/chrome512.png',
'/img/bg.svg',
Expand Down

0 comments on commit 657f380

Please sign in to comment.