platelet-app / platelet

Dispatch system for emergency volunteer couriers.
https://platelet.app
Apache License 2.0
38 stars 10 forks source link

Update mechanism to retrieve latest version when using the service worker #43

Closed duckbytes closed 2 years ago

duckbytes commented 2 years ago

With the service worker enabled the page always uses the cached version even when an update has been pushed.

The app could prompt the user when a new version is available to update the cache.

This would be particularly useful when using as a PWA.

c-macn commented 2 years ago

@duckbytes I think I'll pick this one up as a first issue

duckbytes commented 2 years ago

👍 thanks @c-macn

c-macn commented 2 years ago

@duckbytes Can you give me the correct access for the repo when you get the chance? I have code ready for a PR

duckbytes commented 2 years ago

I've invited you for access.