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

Use the Cache API of ServiceWorkers to cache content #414

Closed
mossroy opened this issue Sep 18, 2018 · 0 comments
Closed

Use the Cache API of ServiceWorkers to cache content #414

mossroy opened this issue Sep 18, 2018 · 0 comments
Assignees
Milestone

Comments

@mossroy
Copy link
Contributor

mossroy commented Sep 18, 2018

If #411 can't be implemented, we'll have to fallback to cache the content ourself.

One approach would be to use the Cache API of ServiceWorkers
https://developer.mozilla.org/en-US/docs/Web/API/Cache , that has been designed for this purpose.
See examples from https://serviceworke.rs/caching-strategies.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant