Syntax - Tasty Web Development Treats

708: How We Made Syntax.fm Faster

7 snips
Dec 25, 2023
Discover how a podcast website enhanced its speed through smart performance optimizations. The hosts reveal the tactics they used to diagnose slowness and implement changes for a smoother user experience. Listen in as they discuss transforming transcript loading from a clunky process to on-demand access. Also, learn how caching solutions like Redis boosted their site's efficiency. This behind-the-scenes look is packed with insights for anyone interested in web development!
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

Database Slowdowns

  • Adding a database introduces server-side processes and increases the risk of slowdowns.
  • Instead of cached static files, database queries and additional steps can cause latency.
ANECDOTE

Old Site Architecture

  • The old Syntax.fm website used stale-while-revalidate in Next.js and generated content on demand.
  • This approach allowed pushing new shows immediately without regenerating the whole site every time.
ADVICE

Diagnosing Slowness

  • Diagnose slowness by using visual inspection, developer tools, and performance monitoring services like Sentry.
  • Prioritize fixing slow routes based on their impact and opportunity score.
Get the Snipd Podcast app to discover more snips from this episode
Get the app