headbase-app / headbase

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

Implement proper update handling for PWA. #19

Open ben-ryder opened 11 months ago

ben-ryder commented 11 months 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 11 months ago

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