diff options
Diffstat (limited to 'build.js')
| -rw-r--r-- | build.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -86,6 +86,10 @@ self.addEventListener('fetch', (e) => { // Feed snapshots have their own short HTTP lifetime; never freeze one in Cache Storage. if (u.pathname === '/api/feed') return; + // Streams: a live playlist grows every two seconds (frozen at its first + // copy, the player stalled and failed), and video segments would fill the + // cache with what's already been watched. + if (u.pathname.startsWith('/live/') || u.pathname.startsWith('/vmedia/hls')) return; if (req.mode === 'navigate') { // A note page comes back with its thread rendered into it (the server's |
