cacheable-js
Installation
SKILL.md
Cacheable (Node.js Caching)
Apply these conventions when working with the Cacheable ecosystem in Node.js/TypeScript projects.
Package Selection
| Use Case | Package |
|---|---|
| Full L1/L2 caching with hooks, events, stats, sync | cacheable |
| NestJS / existing cache-manager users | cache-manager |
| Simple in-memory LRU cache | @cacheable/memory |
| HTTP response caching | cacheable-request |
Drop-in node-cache replacement |
@cacheable/node-cache |
Current Stable Baseline
Use npm latest as the stable baseline for installable APIs. As of this update: cacheable@2.5.0, @cacheable/memory@2.2.0, cache-manager@7.2.9.
The June 2026 stable line publishes tag-based invalidation, per-store TTLs, maxTtl, CacheableMemoryHooks, and the Cacheable static singleton helpers. These are safe to prescribe when the project depends on the current npm latest line.