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

Network strategies #21

Closed
NekR opened this issue Feb 4, 2016 · 3 comments
Closed

Network strategies #21

NekR opened this issue Feb 4, 2016 · 3 comments
Labels

Comments

@NekR
Copy link
Owner

NekR commented Feb 4, 2016

Consider adding different network strategies to ServiceWorker https://jakearchibald.com/2014/offline-cookbook/#serving-suggestions-responding-to-requests

Should it be allowed only when AppCache isn't used? Should it automatically disable AppCache?

@NekR NekR added the probably label Feb 4, 2016
@MoOx
Copy link
Contributor

MoOx commented Jun 15, 2016

https://github.com/GoogleChrome/sw-toolbox might help here.

@NekR
Copy link
Owner Author

NekR commented Jun 15, 2016

@MoOx I know, but this was related to cache of webpack generated assets, which isn't written with library.

You can already use sw-toolbox with this plugin if you want, here is very simple example: https://gist.github.com/NekR/06210fc9dea3a9f7850c1f89c9e5dcb5

@NekR
Copy link
Owner Author

NekR commented Oct 7, 2016

Fixed here: #112

I someone would want more control about network/response strategies, please open new issue.

@NekR NekR closed this as completed Oct 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants