Packages

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).

90 packages

Packages in Caching & Key-Value Stores

58Health
Library npm

lru-cache

A fast, type-safe, zero-dependency LRU cache for JavaScript and TypeScript

5,917
Other
Used by 49
47Health
Library Go

go-cache

A thread-safe, in-memory key-value cache for Go with per-item expiration, atomic counters, and optional disk persistence.

8,840
MIT
Used by 16
81Health
Library npm

Cacheable

High-performance layer 1 / layer 2 caching engine built on Keyv

2,008
MIT
Used by 14
44Health
Library npm

node-cache

A simple, fast in-memory caching module for Node.js with TTL expiration, similar to memcached.

2,373
MIT
Used by 12
90Health
Library npm

keyv

A consistent Promise-based key-value storage API for Node.js with pluggable adapters for Redis, MongoDB, SQLite, Postgres, and more.

3,198
MIT
Used by 11
72Health
Library Cargo

lru

A simple, fast O(1) LRU cache implementation for Rust

838
MIT
Used by 9
66Health
Library Cargo

Moka

Fast, concurrent in-memory caching library for Rust, inspired by Java's Caffeine

2,690
Apache 2.0
Used by 8
68Health
Library Go

Ristretto

A fast, concurrent, memory-bound in-memory cache for Go with TinyLFU admission and SampledLFU eviction for high hit ratios.

6,994
Apache 2.0
Used by 7
79Health
Library npm

NestJS Cache Manager (@nestjs/cache-manager)

Official NestJS caching module wrapping cache-manager and Keyv for pluggable multi-store caching.

168
MIT
Used by 7
67Health
Library Go

ttlcache

A generic, thread-safe in-memory cache for Go with per-item TTL, automatic expiration, and loader-based cache-miss handling.

1,284
MIT
Used by 5
56Health
Library npm

quick-lru

A simple, fast Least Recently Used (LRU) cache built on a dual-Map design

770
MIT
Used by 4
38Health
Library PyPI

python-diskcache

Pure-Python disk and file-backed cache that's faster than Memcached and Redis, with a Django-compatible dict-like API.

2,909
Apache 2.0
Used by 3
46Health
Library Go

Otter

A high-performance, adaptive W-TinyLFU in-memory cache for Go with size, weight, and time-based eviction.

2,684
Apache 2.0
Used by 3
79Health
Library Cargo

foyer

A hybrid in-memory and disk cache library for Rust with pluggable eviction algorithms and zero-copy access.

1,818
Apache 2.0
Used by 3
54Health
Library PyPI

aiocache

Asyncio cache manager with a unified async API across memory, Valkey/Redis, and Memcached backends

1,436
BSD 3
Used by 2
54Health
Library PyPI

django-cachalot

Automatically caches and invalidates Django ORM queries with zero code changes

1,433
BSD 3
Used by 2
47Health
Library Cargo

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.

362
MIT
Used by 2
68Health
Library npm

tiny-lru

A zero-dependency, ~2.2 KB LRU cache for JavaScript with O(1) operations and optional TTL expiration.

184
BSD 3
Used by 2
41Health
Library npm

cache-manager-redis-store

A Redis store adapter for node-cache-manager, built as a thin wrapper around node-redis v4.

167
MIT
Used by 2
37Health
Library npm

keyv-file

A lightweight file-based storage adapter for Keyv that persists key-value data to disk with automatic TTL expiry.

81
MIT
Used by 2
78Health
Library Composer

Laravel Response Cache

Speed up a Laravel application by caching the entire HTTP response

2,816
MIT
Used by 1
82Health
Library Cargo

cached

Rust caching structures and #[cached]/#[once]/#[concurrent_cached] macros for effortless function memoization.

2,092
MIT
Used by 1
80Health
Library PyPI

requests-cache

Transparent, persistent HTTP caching for the Python requests library

1,503
Other
Used by 1
39Health
Library Composer

Intervention Image Cache

Caching extension for Intervention Image that stores manipulation results to avoid re-processing.

636
MIT
Used by 1

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers