-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wasm: save data in case of canceled requests
There's currently no way for a service worker to know if a request has been canceled. This includes understanding if the user skipped forward in a video, for example. To avoid returning the entire file every time, we're limiting Range requests from audio/video tags to 2MB chunks only. See: w3c/ServiceWorker#1544
- Loading branch information
1 parent
186cd0b
commit 0406a67
Showing
2 changed files
with
14 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters