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

feat: add service worker module #27

Open
pemrouz opened this issue Sep 26, 2016 · 2 comments
Open

feat: add service worker module #27

pemrouz opened this issue Sep 26, 2016 · 2 comments

Comments

@pemrouz
Copy link
Collaborator

pemrouz commented Sep 26, 2016

No description provided.

@3liv
Copy link
Collaborator

3liv commented Sep 26, 2016

I've been looking at this. Only chrome supports background sync and would need to update offline module to use indexedDB as localstorage not available from service workers

Sent from my iPhone

On 26 Sep 2016, at 02:33, Pedram Emrouznejad notifications@github.com wrote:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@pemrouz
Copy link
Collaborator Author

pemrouz commented Sep 26, 2016

Agreed 👍 , this should be a nice progressive enhancement that will automatically boost apps when used in a browser that supports ServiceWorker (can use the same cache header info). If there is no ServiceWorker, the offline module should still use the localStorage trick as that still goes a long way in boosting perceived load times in current browsers.

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

2 participants