Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e0f0a93

Browse files
committed
update
1 parent 1cef402 commit e0f0a93

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sw.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,10 @@ self.addEventListener('fetch', event => {
139139
);
140140

141141
// Update the cache with the version we fetched (only for ok status)
142-
event.waitUntil(
142+
/* event.waitUntil(
143143
Promise.all([fetchedCopy, caches.open(RUNTIME)])
144144
.then(([response, cache]) => response.ok && cache.put(event.request, response))
145-
.catch(_ => {/* eat any errors */})
146-
);
145+
.catch(_ => { eat any errors })
146+
);*/
147147
}
148148
});

0 commit comments

Comments
 (0)