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

Make the service worker useful #44

Open
danielthepope opened this issue Aug 28, 2017 · 0 comments
Open

Make the service worker useful #44

danielthepope opened this issue Aug 28, 2017 · 0 comments

Comments

@danielthepope
Copy link
Owner

I added a service worker! Hurrah!

Now make it do something more useful than just saying you're offline.

On a route request, cache the response. If the device becomes offline later, use the cached response if it is less than 1 hour old. A bit of text to say "you're offline" might be helpful here.

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