caches.keys().then(cacheNames => { cacheNames.forEach(cacheName => { caches.delete(cacheName); }); });