JakeWharton/DiskLruCache
Java implementation of a Disk-based LRU cache which specifically targets Android compatibility. observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5355
- days_rel: n/a
- days_push: 2375
- n_releases_24m: 0
Adoption not part of the score
5771 stars · 1162 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Java implementation of a disk-based LRU cache that uses a bounded amount of filesystem space, with entries keyed by strings and values stored as byte streams or files. It specifically targets Android compatibility and provides atomic, journal-backed cache edits and reads.
Use cases
- cache HTTP responses to disk on Android
- store downloaded images with a size-bounded cache
- persist computed results to the filesystem with automatic eviction
- add a disk LRU cache to a Java or Android app
- evict old cache entries when storage limit is exceeded
When to choose
- you need a battle-tested disk LRU cache on Android or the JVM
- you want atomic commits and crash-tolerant cache behavior
- you need a small dependency with no transitive requirements
When to avoid
- you need an in-memory-only cache
- multiple processes must share the same cache directory
- you need keys outside the [a-z0-9_-] format or unbounded value sizes
- you need actively maintained software with recent releases
Facets
library · maturity maintenance
caching file-system mobile-development developer-tools jvm disk-cache lru-cache android
2 sources
- readme: https://github.com/JakeWharton/DiskLruCache · fetched 2026-08-28 · 76f9a05b02d0
- homepage: http://jakewharton.github.io/DiskLruCache · fetched 2026-08-29 · 345dffda3ab0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| JakeWharton/DiskLruCache | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="JakeWharton/DiskLruCache")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem