Ruby Cache Libraries

Cache libraries for Ruby

GitHub Star Comparison

Ruby Cache Libraries GitHub Star Comparison
NoNameGitHub StarsDescriptionTrendLicenseTypeOfficial Site
1ActiveSupport::Cache⭐ 57.3kStandard Rails cache system. Provides various stores like MemoryStore, RedisCacheStore, MemCacheStore through unified interfaceOverwhelming share as absolute standard for Rails development in 2025. Continuous evolution with new features from Rails 7 onwardsMITRails CacheOfficial
2redis-rb⭐ 4.0kOfficial Redis client for Ruby. Widely adopted in Ruby applications as high-performance distributed cache solutionGrowing as standard library for Redis usage in Ruby in 2025. Important for distributed caching in microservices environmentsMITRedis ClientOfficial
3Dalli⭐ 3.1kMost popular Memcached client. Used by default in ActiveSupport::Cache::MemCacheStore with rich production environment track recordImportant position in production Rails applications in 2025. Continued demand through Memcached caching strategiesMITMemcached ClientOfficial
4redis-store⭐ 1.5kComprehensive Ruby library for Redis. Supports various uses like session store, cache store, and I18n backendImportant choice in Redis ecosystem in 2025. Expands Redis utilization scope with multi-functionalityMITMulti-Purpose RedisOfficial
5second_level_cache⭐ 395L2 cache library for ActiveRecord. Provides automatic caching functionality at ORM level, optimizing database accessImportant for Rails ORM performance improvement in 2025. Continued demand through database load reductionMITActiveRecord CacheOfficial
6LruRedux⭐ 286Fast Ruby LRU cache implementation. Provides memory-efficient and fast access, optimal for small to medium applicationsAdopted in Ruby applications requiring simple in-memory caching in 2025. Differentiated by lightweight natureMITLRU CacheOfficial