mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-05-01 19:25:59 +00:00
Try to speed up LCP allSettled
This commit is contained in:
@@ -156,7 +156,7 @@ self.addEventListener('activate', evt => {
|
||||
return evt.waitUntil(
|
||||
caches.keys()
|
||||
.then(cacheNames => {
|
||||
return Promise.all(
|
||||
return Promise.allSettled(
|
||||
cacheNames.map(cacheName => {
|
||||
if (cacheName !== cacheTitle) {
|
||||
return caches.delete(cacheName);
|
||||
|
||||
Reference in New Issue
Block a user