Closed blindsweatyhansolo closed 2 years ago
tag in the index.html file, set up a function to register the Service Worker, with a conditional that checks for the existence of a SW in the global navigator object
Set up Service Worker:
Created instance of Service Worker in project, caches all icons, style sheet, index.html, idb.js and index.js files.
! Needs to be updated to cache manifest.json once created
Updated files to cache to include manifest.json
Service Worker
Introduce and establish Service Worker to handle caching
Register Service Worker: