Grab
Grab logoGrab · Feature trail

Time-Aware Image Caching

2 posts · Jan 2021 – Mar 2026

What this trail covers

Grab has evolved its image caching strategy by implementing a Time-Aware Least Recently Used (TLRU) cache. This enhancement builds upon the existing DiskLruCache foundation, introducing Time-To-Live (TTL) for automatic eviction of stale content, a minimum cache size threshold to protect essential images, and retaining the maximum cache size for storage management. The TLRU cache aims to reclaim terabytes of storage space by proactively removing outdated images without impacting use. The Drivers

All Grab trails