We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f81ef6 commit fce33ceCopy full SHA for fce33ce
service-worker.js
@@ -15,7 +15,7 @@ self.addEventListener('fetch', event => {
15
if (event.request.url.startsWith(self.location.origin)) {
16
event.respondWith(
17
caches.open(CACHE_NAME).then(cache => {
18
- return cache.match(event.request).then(response => {
+ return cache.match(event.request, {ignoreSearch: true}).then(response => {
19
if (response) return response;
20
return fetch(event.request).then(response => {
21
cache.put(event.request, response.clone());
0 commit comments