Browser caching: Client side caching using IndexedDB
Snowpal Podcast: Discuss recent work on implementing caching to improve performance.
In this conversation, Krish discusses his recent work on implementing caching to improve performance. He explains the importance of scaling horizontally and the cost-effectiveness of adding more servers. Krish shares his personal preference for fast page rendering times and his initial implementation of caching. He highlights the use of the browser's index DB for storing serialized JSON objects and reducing API calls. Krish also discusses the combination of expiration-based and invalidation-based caching and the ongoing improvements he plans to make. He concludes by mentioning the deployment of the changes to both mobile and web platforms for improved performance.
Takeaways
Scaling horizontally through adding more servers can be a cost-effective way to handle growth.
Caching can significantly improve performance by reducing the number of API calls.
Combining expiration-based and invalidation-based caching can provide a balance between data freshness and performance.
Using the browser's index DB allows for structured storage of serialized JSON objects.
Chapters
00:00 Introduction and T-Shirt Announcement
00:57 Scaling Horizontally and Implementing Caching
02:23 Importance of Fast Performance and Initial Caching Implementation
03:19 Using Browser's Index DB for Caching
04:19 Combination of Expiration-Based and Invalidation-Based Caching
06:41 Improved Performance on Mobile and Web
Video
Snowpal Products
Backends as Services on AWS Marketplace
Mobile Apps on App Store and Play Store
Web App
Education Platform for Learners and Course Creators