# jaredwray/cacheable

a robust, scalable, and maintained set of caching packages

Repository: https://github.com/jaredwray/cacheable
Canonical: https://ross.abutalabs.com/products/cacheable
Homepage: https://cacheable.org
Language: TypeScript
License: MIT
License Family: permissive
Topics: cache, redis, nodejs, caching, caching-library, http, wrapper, rfc-72, key-value, keyv
Last push: 2026-08-26T01:00:59+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 90, longevity 100
- inputs: {"age_days": 4897, "days_push": 8, "days_rel": 67, "gap_med": 9, "n_releases_24m": 56}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2005, forks 207 (observed 2026-08-28T04:06:04.676304+00:00)

## What it is
Cacheable is a maintained monorepo of Node.js caching packages built on Keyv, including layered (Layer 1/Layer 2) caching, an HTTP request cache with RFC 7234 semantics, in-memory and file-backed caches, and a cache manager. It offers TTL, LRU eviction, memoization, statistics, and distributed sync across multiple stores.

## Use cases
- cache api responses in a nodejs service
- add layered memory and redis caching to an app
- wrap http requests with rfc-compliant caching
- replace the unmaintained node-cache package
- cache file metadata so only changed files are reprocessed
- memoize expensive async function calls
- persist an in-memory cache to disk

## When to choose
- you need a maintained, feature-rich caching layer for Node.js
- you want multi-tier caching combining memory with Redis or other Keyv stores
- you need HTTP caching semantics for outbound requests
- you are migrating from node-cache or cache-manager and want active maintenance

## When to avoid
- you are not on Node.js or a JavaScript runtime
- you need caching for a non-JavaScript backend like Go, Rust, or Python
- you want a fully managed cloud caching service rather than a library

## Facets
- artifact type: library
- maturity: active
- function: caching, http-client, serialization
- domain: backend, web-development, developer-tools, performance
- platform: cross-platform
- tags: keyv, layered-caching, lru, ttl, memoization, http-cache, redis, monorepo, typescript, nodejs

## Member repositories
- jaredwray/cacheable (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:04.676304+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:01:34.928745+00:00, confidence not recorded.
  - readme: https://github.com/jaredwray/cacheable (fetched 2026-08-28T04:06:04.676304+00:00, sha b6aea2a7c9c1)
  - homepage: https://cacheable.org (fetched 2026-08-29T10:41:46.810373+00:00, sha 7801c45d92a9)
  - site_page: https://cacheable.org/docs (fetched 2026-08-29T10:41:46.819525+00:00, sha aafa383d8aad)
  - site_page: https://cacheable.org/docs/utils (fetched 2026-08-29T10:41:46.825751+00:00, sha 253d6184ae0c)
  - site_page: https://cacheable.org/docs/node-cache (fetched 2026-08-29T10:41:46.828533+00:00, sha 0a587c5a103b)
  - site_page: https://cacheable.org/docs/net (fetched 2026-08-29T10:41:46.830727+00:00, sha f60fd2d8b853)
  - site_page: https://cacheable.org/docs/memory (fetched 2026-08-29T10:41:46.833276+00:00, sha e892d60563c0)
  - site_page: https://cacheable.org/docs/flat-cache (fetched 2026-08-29T10:41:46.835674+00:00, sha cb03ec443026)
  - site_page: https://cacheable.org/docs/file-entry-cache (fetched 2026-08-29T10:41:46.837857+00:00, sha a609756d9d9e)
  - registry_npm: https://registry.npmjs.org/cacheable (fetched 2026-08-29T10:41:46.840178+00:00, sha ff31f4a5aaad)
- Data as of 2026-08-30T08:39:29.467469+00:00.
