Commit 2c2ef0cb authored by Antoine Fauchi茅's avatar Antoine Fauchi茅

admin: mise 脿 jour des service workers 馃Ь

parent e681870b
'use strict';
const version = 'v0.45::';
const version = 'v0.46::';
const staticCacheName = version + 'static';
const pagesCacheName = version + 'pages';
const imagesCacheName = version + 'images';
......@@ -10,7 +10,7 @@ const offlinePages = [
'/carnet/',
'/projets/',
'/a-propos/',
'/profil-antoine/'
'/now/'
];
function updateStaticCache() {
......@@ -25,6 +25,8 @@ function updateStaticCache() {
].concat(offlinePages));
// These items must be cached for the Service Worker to complete installation
return cache.addAll([
'/2019/09/21/mes-outils/',
'/2019/04/27/nos-memoires-numeriques/',
'/2018/10/27/vers-un-systeme-modulaire-de-publication-crihn/',
'2018/10/18/markdown-comme-condition-d-une-norme-de-l-ecriture-numerique/',
'/2018/06/11/pourquoi-gerer-du-contenu-avec-git/',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment