issues
search
pln-planning-tools
/
Starmap
Roadmap Planning Tool
https://starmap.site
Other
20
stars
8
forks
source link
feat(sw): Updates are Available, Click Here to Refresh
#304
Closed
whizzzkid
closed
1 year ago
whizzzkid
commented
1 year ago
Follow up to #254
Based on the work done in #284:
sw caches in the browser for content being loaded, which makes loading extremely fast.
sw also implements stale-while-revalidate strategy to update cache content.
the updated content is only available on the next reload.
Enhancement:
SW should broadcast an event if updates are found which does not matches the content in the cache.
The UI should listen to this and present a toast notification to the user to refresh the page.
This toast should show up as soon as new content is discovered and show a loading symbol.
Should update to a refresh button when everything is settled.
Refresh should load the latest content (essentially a optional next reload)
Follow up to #254
Based on the work done in #284:
Enhancement: