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

Ensure Service Worker prefers latest from network over cached #38

Closed
codedread opened this issue Apr 30, 2020 · 1 comment
Closed

Ensure Service Worker prefers latest from network over cached #38

codedread opened this issue Apr 30, 2020 · 1 comment

Comments

@codedread
Copy link
Owner

In Issue #23, a Service Worker was introduced to cache files and make kthoom work offline. However, in looking at the code and observing behavior, I think the SW prefers the cached version over the network version and its' hard to "convince" kthoom to get the latest updates.

Need to investigate strategies and apply a fix: https://jakearchibald.com/2014/offline-cookbook/#network-falling-back-to-cache

@codedread codedread changed the title Ensure Service Working caching prefers latest from network Ensure Service Worker prefers latest from network over cached Apr 30, 2020
@codedread
Copy link
Owner Author

Done - though I'm not sure if there is any way to clear the Service Worker for those users with the older one...

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