aboutsummaryrefslogtreecommitdiffstats
path: root/build.js
diff options
context:
space:
mode:
Diffstat (limited to 'build.js')
-rw-r--r--build.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.js b/build.js
index 2bc5361..848ce92 100644
--- a/build.js
+++ b/build.js
@@ -84,6 +84,9 @@ self.addEventListener('fetch', (e) => {
// cached "unconfirmed"). Straight to network, always.
if (/^\\/(esplora|sp|lnurlp|electrum)\\//.test(u.pathname) || u.pathname.startsWith('/.well-known/')) return;
+ // Feed snapshots have their own short HTTP lifetime; never freeze one in Cache Storage.
+ if (u.pathname === '/api/feed') return;
+
if (req.mode === 'navigate') {
e.respondWith(
fetch(req)