Syntax - Tasty Web Development Treats

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!
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

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.
ANECDOTE

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.
ADVICE

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.
Get the Snipd Podcast app to discover more snips from this episode
Get the app