Cached

JSON →
library 6.1.0 ·javascript
verified Jun 7, 2026

A simple caching library for Node.js (v6.1.0) inspired by the Play cache API, designed to prefer serving stale data over causing a stampede on the backend. Supports both promise- and callback-based usage. Built-in backends: in-memory (default) and memcached (via memcached-elasticache). Released by Groupon, follows semantic versioning. Key differentiators: minimal interface (no multi-get, no deletion), stale-while-revalidate bias, named caches with automatic key prefixes.