

Hasty Treat - Updating / Restarting Long-Running Web Apps
Oct 12, 2020
Discover the challenges of updating long-running web apps, including bug issues that can arise post-update. The hosts share personal experiences and best practices for keeping users engaged. Learn about seamless updates with real-time deployment and strategies to prompt user refreshes. They discuss innovative solutions like asset tracking with hashes and using service workers to enhance the user experience. Get tips on maintaining browser compatibility while ensuring a smooth transition during updates!
AI Snips
Chapters
Transcript
Episode notes
Persistent Bugs
- Wes Bos encountered an issue with his course player after rolling out a bug fix.
- Users were still running the old code, causing the bugs to persist.
Meteor's Live Updates
- Scott Tolinsky uses Meteor, which automatically pushes live updates to users.
- This eliminates the need for manual refreshes, streamlining the update process.
Prompting Refreshes
- One solution is to list assets/commit hashes and poll the server.
- When a new version is available, prompt users to refresh via a toast message.