Reclaiming Terabytes: Optimizing Android image caching with TLRU

· Grab · March 6, 2026, 3:09 a.m.
Summary
This blog post details the development of a Time-Aware Least Recently Used (TLRU) caching mechanism for the Grab Android app, aimed at optimizing image storage management. It discusses the limitations of traditional LRU cache, which doesn't consider the age of cached content, leading to wasted storage. The TLRU cache introduces time-based eviction mechanisms, along with traditional size constraints, to better manage disk usage without sacrificing user experience. Post-implementation results showed a significant reduction in app storage and maintained user satisfaction, showcasing technical innovation and a commitment to optimizing the app.
AUTHOR
Sponsored
Zulip logo Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →