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

(optim): add PWA support with OfflinePlugin #5

Open
agilgur5 opened this issue Aug 12, 2018 · 0 comments
Open

(optim): add PWA support with OfflinePlugin #5

agilgur5 opened this issue Aug 12, 2018 · 0 comments

Comments

@agilgur5
Copy link
Owner

https://github.com/NekR/offline-plugin supports Service Workers and falls back to AppCache

I haven't read too far in-depth into exactly how SWs work, so not sure of all the possible concerns. Off the top of my head of some issues I've previously read about are cache-busting the SW, excluding/including certain requests, and figuring out how caching app state works in tandem with the SW are all important considerations. Also not sure how useful SWs are to apps that don't have very much offline functionality; I think the caching aspect might still work better for online apps than just plain browser caching, but not really sure of all these details.

An alternative is Google's Workbox, which is the successor to sw-precache-plugin. Based on the docs and this chat thread, offline-plugin is much easier to set-up and get started with.

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