How to Cache Data in an Android App without Shooting Yourself in the Foot
summary
Covers caching strategies for Android apps and how to choose between them, with concrete discussion of Lazy, Synchronized, Write-through and LRU caches. Describes why these approaches matter for performance and gives a real-world example: implementing a fast, flexible LRU cache in a social-media Android app with a multi‑million daily audience.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 7:50Content loading problem
- 13:32Lazy Cache strategy
- 18:16Sync Cache strategy
- 20:45Write-Through Cache strategy
- 23:59LRU Cache strategy
- 24:21Choosing a strategy
- 32:17Caching implementation
- 38:17Results after adoption
- 41:29Caching tips
- 46:37Q&A
related talks
40mSmarter Application Caching with Kotlin Flow
50mLet's talk about the cache!
50mCaching with Spring: Advanced Topics and Best Practices
53mLeveraging Caching For Cloud Native Applications
13mAdvanced offline caching techniques in Cloud Firestore
46mOn-heap cache vs Off-heap cache w Javie
30mCaching patterns for lazy devs for lazy loading
47mApplication design patterns with in-memory datastores
