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

video buffering/caching #4

Open
ThaUnknown opened this issue Oct 17, 2020 · 0 comments
Open

video buffering/caching #4

ThaUnknown opened this issue Oct 17, 2020 · 0 comments

Comments

@ThaUnknown
Copy link
Contributor

I've run into an issue where the browser caches/stores the video pieces, for example if the browser caches/stores a corrupted video piece, re-validating it and trying to play it again won't download it via the service worker, but from the browser cache, I tried putting

res.headers['Cache-Control'] = 'no-cache, no-store, must-revalidate, max-age=0'
res.headers['Expires'] = '0'

on the response headers and

<video preload="none">

, but that doesn't seem to solve the issue fully

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

No branches or pull requests

1 participant