ben-manes/caffeine
A high performance caching library for Java observed · 2026-08-28
Health v2 · maintenance only
85/100
- Activity 99
- Release rhythm 58
- Longevity 100
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: 124.5
- age_days: 4281
- days_rel: 123
- days_push: 8
- n_releases_24m: 5
Adoption not part of the score
17834 stars · 1710 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Caffeine is a high-performance, near-optimal in-memory caching library for Java with a Guava-inspired API. It supports size-based eviction, time-based expiration, asynchronous loading and refreshing, reference-based keys/values, eviction listeners, and access statistics.
Use cases
- cache expensive computation results in memory
- evict entries when a maximum cache size is exceeded
- expire cache entries after a time-to-live
- asynchronously refresh stale cache entries
- track cache hit and miss statistics
- replace Guava cache for better performance
When to choose
- you need a fast in-memory cache on the JVM
- you want Guava-like caching with better hit rates
- you need flexible eviction, expiration, and refresh policies
When to avoid
- you need a distributed or persistent cache
- your application is not on the JVM
Facets
library · maturity stable
caching performance developer-tools backend jvm in-memory-cache eviction guava-inspired jcache
1 source
- readme: https://github.com/ben-manes/caffeine · fetched 2026-08-28 · cde31f6bf3c5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ben-manes/caffeine | main | 85 |
For agents
markdown · JSON · MCP: product_card(name="ben-manes/caffeine")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem