headbase-app / headbase

The customizable database for your brain. Note-taking, task-management, personal knowledge bases and more.
GNU Affero General Public License v3.0
2 stars 0 forks source link

Implement proper update handling for PWA. #19

Open ben-ryder opened 1 year ago

ben-ryder commented 1 year ago

Right now after an update is pushed the old PWA site can still be cached. There is no mechanism to inform the user of updates.

At minimum I should try and find a way to automatically invalidate the cache and update after a production deploy, but long term I may want to make this user facing so they can choose to update when ready.

ben-ryder commented 1 year ago

Right now, updates can be pulled by deleting the installed service worker and clearing the browser cache.