From f0b13628423fcea7f2bd20bcaa79178bf3d76801 Mon Sep 17 00:00:00 2001 From: Ivan Beltrame <87547424+Imperatore1003@users.noreply.github.com> Date: Sun, 8 Dec 2024 13:18:24 +0100 Subject: [PATCH] Adding new images to service worker's cache --- sw.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sw.js b/sw.js index 002669b..c19c2fe 100644 --- a/sw.js +++ b/sw.js @@ -1,4 +1,4 @@ -const cacheVersion = "v28"; +const cacheVersion = "v29"; const statiCache = "site-static-" + cacheVersion; const dynamicCache = "site-dynamic-" + cacheVersion; @@ -79,7 +79,11 @@ const imgs = [ "/img/certs/sololearn/php.jpg", "/img/certs/sololearn/python.png", "/img/certs/sololearn/responsive-web-design.jpg", - "/img/certs/sololearn/sql.png" + "/img/certs/sololearn/sql.png", + "/img/screenshots/home-mobile.jpg", + "/img/screenshots/certificati-mobile.jpg", + "/img/screenshots/contatti-mobile.jpg", + "/img/screenshots/progetti-mobile.jpg" ]; const thirdParty = [ "https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css",