Caching & Key-Value Stores Packages
Client libraries for in-memory caches and key-value stores used to speed up reads and share state across services (Redis, Memcached).
Packages in Caching & Key-Value Stores
Sort:Used by Most Apps
lru-cache
A fast, type-safe, zero-dependency LRU cache for JavaScript and TypeScript
go-cache
A thread-safe, in-memory key-value cache for Go with per-item expiration, atomic counters, and optional disk persistence.
Cacheable
High-performance layer 1 / layer 2 caching engine built on Keyv
node-cache
A simple, fast in-memory caching module for Node.js with TTL expiration, similar to memcached.
keyv
A consistent Promise-based key-value storage API for Node.js with pluggable adapters for Redis, MongoDB, SQLite, Postgres, and more.
lru
A simple, fast O(1) LRU cache implementation for Rust
Moka
Fast, concurrent in-memory caching library for Rust, inspired by Java's Caffeine
Ristretto
A fast, concurrent, memory-bound in-memory cache for Go with TinyLFU admission and SampledLFU eviction for high hit ratios.
NestJS Cache Manager (@nestjs/cache-manager)
Official NestJS caching module wrapping cache-manager and Keyv for pluggable multi-store caching.
ttlcache
A generic, thread-safe in-memory cache for Go with per-item TTL, automatic expiration, and loader-based cache-miss handling.
quick-lru
A simple, fast Least Recently Used (LRU) cache built on a dual-Map design
python-diskcache
Pure-Python disk and file-backed cache that's faster than Memcached and Redis, with a Django-compatible dict-like API.
Otter
A high-performance, adaptive W-TinyLFU in-memory cache for Go with size, weight, and time-based eviction.
foyer
A hybrid in-memory and disk cache library for Rust with pluggable eviction algorithms and zero-copy access.
aiocache
Asyncio cache manager with a unified async API across memory, Valkey/Redis, and Memcached backends
django-cachalot
Automatically caches and invalidates Django ORM queries with zero code changes
quick-cache
A lightweight, high-performance concurrent cache for Rust with S3-FIFO/CLOCK-Pro eviction, atomic get-or-insert coordination, and per-item weights.
tiny-lru
A zero-dependency, ~2.2 KB LRU cache for JavaScript with O(1) operations and optional TTL expiration.
cache-manager-redis-store
A Redis store adapter for node-cache-manager, built as a thin wrapper around node-redis v4.
keyv-file
A lightweight file-based storage adapter for Keyv that persists key-value data to disk with automatic TTL expiry.
Laravel Response Cache
Speed up a Laravel application by caching the entire HTTP response
cached
Rust caching structures and #[cached]/#[once]/#[concurrent_cached] macros for effortless function memoization.
requests-cache
Transparent, persistent HTTP caching for the Python requests library
Intervention Image Cache
Caching extension for Intervention Image that stores manipulation results to avoid re-processing.