JavaScript Cache Libraries
Cache libraries for JavaScript
GitHub Star Comparison
| No | Name | GitHub Stars | Description | Trend | License | Type | Official Site |
|---|---|---|---|---|---|---|---|
| 1 | Redis (node-redis) | ⭐ 17.2k | Official Redis client for Node.js. Used in scalable applications as high-performance distributed cache | Growing as standard choice for distributed caching in 2025. Expanding adoption in microservices architecture | MIT | Redis Client | Official |
| 2 | lru-cache | ⭐ 5.7k | Most popular and high-performance LRU cache library for Node.js. Provides minimal eviction time and excellent concurrent performance | Maintains top performance in 2025. Standard cache library used by over 7600 projects | ISC | LRU Cache | Official |
| 3 | node-cache | ⭐ 2.4k | Simple and efficient in-memory cache for Node.js. Features TTL, automatic cleanup, and cache statistics | High popularity in small to medium applications in 2025. Continues adoption with user-friendly API | MIT | Memory Cache | Official |
| 4 | quick-lru | ⭐ 733 | Super fast and simple LRU cache implementation. Designed for pure performance with minimal features | Chosen by applications prioritizing speed in 2025. Gaining attention as lightweight library | MIT | LRU Cache | Official |
| 5 | Bentocache | ⭐ 586 | Multi-tier caching library. Advanced solution providing L1/L2 cache, stampede protection, and grace periods | Rapidly gaining attention as next-generation cache library in 2025. Adopted in applications requiring complex caching strategies | MIT | Advanced Cache | Official |
| 6 | memory-cache | - | Very simple in-memory caching library. Provides basic caching functionality and fast access | Stable demand for lightweight applications in 2025. Supported by developers who prioritize simplicity | BSD-2-Clause | Memory Cache | Official |