Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service Worker Video Caching Sample #336

Merged
merged 32 commits into from May 26, 2016

Conversation

samdutton
Copy link
Member

@samdutton samdutton commented May 11, 2016

Commits can be squashed on merge :).

Not sure why the .gitignore file mode has changed :(.

@samdutton
Copy link
Member Author

@jeffposnick ptal when you have a moment. Used by google/WebFundamentals#2906.

@jeffposnick
Copy link
Contributor

The issue right now with serving videos from the SW cache is that seeking doesn't work out of the box. You need to properly handle Requests that include a Range header, and construct a specific Response using that: https://bugs.chromium.org/p/chromium/issues/detail?id=575357#c10

It would be good to include that technique in this sample, at which point we should be 👍

@samdutton
Copy link
Member Author

Hi @jeffposnick — I've added code to handle range requests.

(Apologies for all the commits — had some trouble at first getting site running locally. Not sure why .gitignore file mode has changed :(.)

@jeffposnick
Copy link
Contributor

👍 Thanks, @samdutton!

@jeffposnick jeffposnick merged commit 30854ad into GoogleChrome:gh-pages May 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants