Skip to content

Commit

Permalink
Adding new images to service worker's cache
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanbeltrame committed Dec 8, 2024
1 parent 98fda45 commit f0b1362
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions sw.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const cacheVersion = "v28";
const cacheVersion = "v29";
const statiCache = "site-static-" + cacheVersion;
const dynamicCache = "site-dynamic-" + cacheVersion;

Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit f0b1362

Please sign in to comment.