The generated videos weren't good enough — pull the films card, its styles, and the video assets. The service-worker hardening stays: media paths bypass the cache (Range/206 responses) and only full 200 responses are cached. Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
@@ -67,7 +67,6 @@ self.addEventListener("fetch", (event) => {
|
||||
url.pathname.startsWith("/api/") ||
|
||||
// Media streams use Range requests (206 responses the Cache API rejects) and are far
|
||||
// too large to belong in the static cache — let the browser handle them natively.
|
||||
url.pathname.startsWith("/academy-video/") ||
|
||||
url.pathname.startsWith("/academy-audio/")
|
||||
)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user