Kotlin Cache Libraries
Cache libraries for Kotlin
GitHub Star Comparison
| No | Name | GitHub Stars | Description | Trend | License | Type | Official Site |
|---|---|---|---|---|---|---|---|
| 1 | Caffeine | ⭐ 17.1k | Kotlin usage of Java's high-performance cache library. Excellent performance and rich features available in Kotlin projects | Continues as standard choice for Kotlin/JVM projects in 2025. Overwhelming stability through Java interoperability | Apache-2.0 | JVM Cache | Official |
| 2 | Jedis | ⭐ 12.2k | Kotlin usage of simple Redis Java client. Provides lightweight and straightforward Redis access | Adopted in Kotlin projects requiring simple Redis access in 2025. Stable usage through Java interoperability | MIT | Simple Client | Official |
| 3 | cache4k | - | Simple in-memory cache for Kotlin Multiplatform. Supports time-based and size-based eviction, optimal for multiplatform development | Rapidly growing in Kotlin Multiplatform projects in 2025. Differentiates from other libraries with cross-platform support | Apache-2.0 | Multiplatform Cache | Official |
| 4 | Kache | - | Lightweight Kotlin Multiplatform cache library. Supports both in-memory and persistent caching with LRU, FIFO, MRU, FILO strategies | Rising attention as Kotlin-native solution in 2025. Differentiates with rich eviction strategies | Apache-2.0 | Multi-Strategy Cache | Official |
| 5 | Ehcache | - | Kotlin utilization of mature Java cache library. Provides enterprise environment track record and distributed cache support | Stable demand in enterprise Kotlin applications in 2025. Important role in legacy system integration | Apache-2.0 | JVM Cache | Official |
| 6 | Android LruCache | - | Android standard LRU cache implementation. Widely used for image caching and data caching in Kotlin app development | Continued use as standard cache for Android Kotlin apps in 2025. Important position through mobile optimization | Apache-2.0 | Android Cache | Official |