Minimalist and opinionated feed reader https://miniflux.app/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
521 B
14 lines
521 B
self.addEventListener("fetch", (event) => { |
|
if (event.request.url.includes("/feed/icon/")) { |
|
event.respondWith( |
|
caches.open("feed_icons").then((cache) => { |
|
return cache.match(event.request).then((response) => { |
|
return response || fetch(event.request).then((response) => { |
|
cache.put(event.request, response.clone()); |
|
return response; |
|
}); |
|
}); |
|
}) |
|
); |
|
} |
|
});
|
|
|