Cacheable
JSON →High performance layer 1 / layer 2 caching engine with distributed sync and enterprise features. Current stable version 2.3.5, actively maintained with regular releases. Built on top of the Keyv storage engine, it supports memory caching with LRU and expiration (CacheableMemory), wrap/memoization with stampede protection, hooks/events, and non-blocking operations. Key differentiators include TTL propagation across tiers, shorthand TTL strings (1m, 1h, 1d), and CacheSync for distributed cache updates via pub/sub. Fully typed with TypeScript, supports ESM and CommonJS. Compared to node-cache-manager, Cacheable offers tighter Keyv integration and built-in distributed sync.
Resources
packagecacheable ↗