Ruby Cache Libraries
Cache libraries for Ruby
GitHub Star Comparison
| No | Name | GitHub Stars | Description | Trend | License | Type | Official Site |
|---|---|---|---|---|---|---|---|
| 1 | ActiveSupport::Cache | ⭐ 57.3k | Standard Rails cache system. Provides various stores like MemoryStore, RedisCacheStore, MemCacheStore through unified interface | Overwhelming share as absolute standard for Rails development in 2025. Continuous evolution with new features from Rails 7 onwards | MIT | Rails Cache | Official |
| 2 | redis-rb | ⭐ 4.0k | Official Redis client for Ruby. Widely adopted in Ruby applications as high-performance distributed cache solution | Growing as standard library for Redis usage in Ruby in 2025. Important for distributed caching in microservices environments | MIT | Redis Client | Official |
| 3 | Dalli | ⭐ 3.1k | Most popular Memcached client. Used by default in ActiveSupport::Cache::MemCacheStore with rich production environment track record | Important position in production Rails applications in 2025. Continued demand through Memcached caching strategies | MIT | Memcached Client | Official |
| 4 | redis-store | ⭐ 1.5k | Comprehensive Ruby library for Redis. Supports various uses like session store, cache store, and I18n backend | Important choice in Redis ecosystem in 2025. Expands Redis utilization scope with multi-functionality | MIT | Multi-Purpose Redis | Official |
| 5 | second_level_cache | ⭐ 395 | L2 cache library for ActiveRecord. Provides automatic caching functionality at ORM level, optimizing database access | Important for Rails ORM performance improvement in 2025. Continued demand through database load reduction | MIT | ActiveRecord Cache | Official |
| 6 | LruRedux | ⭐ 286 | Fast Ruby LRU cache implementation. Provides memory-efficient and fast access, optimal for small to medium applications | Adopted in Ruby applications requiring simple in-memory caching in 2025. Differentiated by lightweight nature | MIT | LRU Cache | Official |