No funciona el modo offline en el SW no me aparece ninguna información. Este es mi código
const CACHE_NAME = "dm-v1" const CACHE_URLS = [ "/img1.png", "/img2.jpg", "/index.css", "/index.html", ]
self.addEventListener('install', function(ev){
caches.open(CACHE_NAME).then(function(cache){ return cache.addAll(CACHE_URLS) })
})
self.addEventListener('fetch', function(ev){ console.log(ev.request) ev.respondWith( caches.match(ev.request).then(function(response){ if (response){ return response } return fetch(ev.request) }) ) })