BentoCache
Reasonable, with limits. 7th of 10 caching and Redis clients.
BentoCache is a TypeScript caching library for Node.js. It puts an in-memory L1 cache in front of an L2 store such as Redis and keeps app instances in sync over a bus. It also handles stampede protection, grace periods, timeouts and tags. Feature for feature it is the most complete multi-tier cache in JavaScript, but it rests on one maintainer, its last core release was in February 2026, and several open correctness bugs around grace and serialization have no visible fix yet.
Best for: Node.js backend teams, including AdonisJS users, who want a two-tier memory-plus-Redis cache with stampede protection and grace periods.
Scores
Overall6.5
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
For multi-tier caching with resilience features it is the best-designed option in this category, and AdonisJS backs it. Slower core releases, months-old correctness bugs, a single maintainer and little outside validation keep it out of the 7–8 band. Pick it when you need L1 plus Redis with stampede and grace handling. For a simple key-value cache, Keyv, cache-manager or lru-cache are safer bets.
- github.com/Julien-R44/bentocache/issues: Open correctness bugs around grace, tags and serialization.
- bentocache.dev/docs/introduction: Most complete multi-tier feature set among JavaScript cache libraries.
- npm downloadsLast4Weeks: Growing a little faster than the median, from a small base.
GPT-6.2 Sol: 7.0, likely 5.7 to 8.1
BentoCache is a strong choice for Node.js services that need a local cache backed by Redis with shared invalidation and stale-data fallback. For standard caching in NestJS, cache-manager with Keyv has the advantage of a documented framework integration. The core release gap and the open ioredis 6 compatibility issue make BentoCache a less certain long-term choice for teams that upgrade Redis clients frequently.
- bentocache.dev/docs/multi-tier: Documents local memory, shared storage, and invalidation across instances.
- docs.nestjs.com/techniques/caching: NestJS documents cache-manager and Keyv for memory and Redis.
- npm latestPublishedAt, github latestRelease: The November add-on release followed a February core release.
- github.com/Julien-R44/bentocache/issues/122: Open ioredis 6 compatibility issue has affected production.
Needed by many4.8
How many developers need a tool for this job?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
Server-side caching is a common need, but this project's take on it is a full multi-tier application cache for Node.js backends. Front-end developers and simple single-process caches do not need it. Many backend teams that run Redis would benefit from it.
- bentocache.dev/docs/introduction: Positions itself as a multi-tier cache for Node.js server apps.
- github description: Multi-tier caching library for Node.js applications.
GPT-6.2 Sol: 4.6, likely 3.5 to 5.8
Caching is common on Node.js backends, and BentoCache works across frameworks with memory, Redis, and database stores. Its strongest fit is backends that need fast local reads plus shared caching across instances. The surveys show demand for Redis and backend caching, with limited detail on how often teams need two tiers.
- survey.stackoverflow.co/2026/technology: Redis was used by 28.3% of respondents to the database question.
- holyjs.ru/research/state-of-frontend/2025/report.html: 39.2% reported using Redis for Node.js caching.
- bentocache.dev/docs/introduction: Documents Node.js scope and single-tier and two-tier modes.
Helps a lot7.4
How well does it do the job for those who need it?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
Among the JavaScript peers, it has the richest feature set for application caching. That includes L1/L2 with bus sync, stampede protection, grace periods, timeouts, tags, a circuit breaker and observability. Open bug reports show that edge cases in grace, tag invalidation and serialization can behave wrongly. One report says a failed instanceof check makes the Redis driver silently fall back to localhost. Tagging is still marked experimental.
- bentocache.dev/docs/introduction: Feature list: multi-tier, bus, grace, stampede protection, tags, OTel.
- github.com/Julien-R44/bentocache/releases: 1.x releases add a circuit breaker, forceFresh and prune, and fix race conditions.
- github.com/Julien-R44/bentocache/issues: Open correctness bugs: #109 TTL ignored, #71 deleteByTag with grace, #111/#121 serialization, #122 Redis fallback.
- npm hasTypes: Ships TypeScript types.
GPT-6.2 Sol: 7.7, likely 6.4 to 8.8
Version 1.6.1 gives teams a typed API for two-tier caching, cross-instance invalidation, and serving stale values during refresh. The setup examples give coding agents a starting point, but their output quality is unmeasured. Stampede protection is process-local, and a production report shows that an ioredis 6 client can silently send connections to localhost. An external single-node benchmark gave mixed results against lru-cache, leaving performance across multiple instances uncertain.
- bentocache.dev/docs/quick-setup: Shows memory-only and memory-plus-Redis configurations.
- npm latestVersion, hasTypes: Stable 1.6.1 ships TypeScript declarations.
- bentocache.dev/docs/stampede-protection: Each application instance uses its own lock.
- github.com/Julien-R44/bentocache/issues/122: User reports a silent Redis connection fallback in production.
- github.com/filipdanic/cache_benchmarks: Single-node comparison by the author of another cache library.
Holds up over time5.3
Will it still be a good choice in two years?
Claude Opus 5.5: 5.0, likely 4.0 to 6.5
Work continues, with 42 commits in the last year and an OpenTelemetry package released in November 2026. The core package has not shipped since February 2026, and bug reports from 2025 are still open with little visible reply. One person does most of the work. Because the official AdonisJS cache module is built on it, it is likely to keep being maintained.
- github commitsLastYear: 42 commits and 2 releases in the last year.
- npm latestPublishedAt: Last core release 1.6.1 on 2026-02-09.
- github openPullRequests: 12 open PRs against 48 merged.
- docs.adonisjs.com/guides/digging-deeper/cache: AdonisJS cache module is built on Bentocache.
- github.com/Julien-R44/bentocache/issues: Issues from 2025 still open, with 1–2 comments each.
GPT-6.2 Sol: 5.5, likely 4.1 to 7.0
The repository had 42 commits in the past year, and the telemetry add-on shipped in November. Core 1.6.1 shipped in February, and a proposed fix for the Redis compatibility issue has been open since September. The maintainer has sponsors across several projects, but funding dedicated to BentoCache and who can take over releases remain unclear.
- github commitsLastYear, contributors: 42 annual commits and 18 contributors in total.
- npm latestPublishedAt, versionsLastYear: Three core versions in a year, most recently in February.
- github.com/Julien-R44/bentocache/releases: November release covered the OpenTelemetry add-on.
- github.com/Julien-R44/bentocache/pull/123: September Redis compatibility fix is still open.
- github.com/sponsors/Julien-R44: The maintainer receives sponsorship across multiple projects.
Used widely3.4
How many use it, and is that growing?
Claude Opus 5.5: 3.5, likely 2.5 to 4.5
It had about 520k downloads in the last 4 weeks, up from 108k a year ago. That ratio of 4.8 is a little above the 4.1 median, so it is gaining ground slowly. Much of that use comes through @adonisjs/cache, not direct choice. ecosyste.ms finds almost no dependents, and stars and Bluesky attention are tiny next to the peers. This points to a few thousand projects at most.
- npm downloadsLast4Weeks: 519,981 against 108,177 a year ago.
- medianDownloadsRatio: Its 4.8 ratio is only a little above the 4.1 median.
- dependents: 0 repos and 1 package found.
- github stars: 665 stars, far below its peers.
GPT-6.2 Sol: 3.2, likely 1.7 to 4.8
Four-week downloads rose from 108,177 to 519,981, or 4.81 times, ahead of the 4.1 catalog median. AdonisJS installs BentoCache through its cache module, so part of that growth comes from indirect use. With 665 stars, one Bluesky link post, and only one package found by ecosyste.ms, the observed footprint is much smaller than cache-manager's or Keyv's. Incomplete dependency coverage leaves the number of direct adopters uncertain.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: Downloads grew 4.81 times versus the 4.1 baseline.
- github stars, bluesky posts, dependents, peers: 665 stars, one link post, and zero repos and one package in the dependency index.
- raw.githubusercontent.com/adonisjs/cache/2.x/package.json: The official AdonisJS cache module installs BentoCache as a dependency.
Vouched for4.7
Who stands behind it being good?
Claude Opus 5.5: 4.0, likely 3.0 to 5.5
The main backing is that AdonisJS chose it as the base of its official cache module. Searches found no independent benchmarks, survey data or named production users. The docs say the project's own benchmarks exist to catch regressions, not to compare libraries.
- docs.adonisjs.com/guides/digging-deeper/cache: AdonisJS builds its official cache module on it.
- bentocache.dev/docs/introduction: No named adopters; it cites FusionCache as inspiration.
- hackerNews stories: No Hacker News stories, and one Bluesky post, made by AdonisJS.
GPT-6.2 Sol: 5.3, likely 3.8 to 6.8
AdonisJS builds its official cache module on BentoCache, which is the clearest endorsement. A developer discussion highlights the built-in tagging, and an external benchmark measures throughput on a single node. Public production evidence outside the AdonisJS ecosystem is sparse.
- docs.adonisjs.com/guides/digging-deeper/cache: AdonisJS documents BentoCache as the basis of its official cache module.
- reddit.com/r/typescript/comments/1se4w61/what_are_guys_using_for_caching_on_top_of_your: A developer highlights the convenience of built-in tagging.
- github.com/filipdanic/cache_benchmarks: An external benchmark tests two single-node workloads.
Safe7.2
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
It has no known advisories, only six dependencies and an MIT licence. There is no OpenSSF Scorecard, and releases appear to depend on a single maintainer. That limits how much is known about how releases are protected.
- advisories total: No advisories.
- npm dependencies: 6 dependencies.
- scorecard: No Scorecard data.
- npm license: MIT.
GPT-6.2 Sol: 7.3, likely 5.7 to 8.7
BentoCache uses the permissive MIT license, has six direct dependencies, and has no recorded OSV advisories. The current GitHub Actions workflow is configured for npm trusted publishing, and npm lists one collaborator. The missing Scorecard and public security policy leave limited evidence about how the project would handle a security report.
- npm license, dependencies, advisories, scorecard: MIT, six direct dependencies, zero OSV advisories, and no Scorecard result.
- npmjs.com/package/bentocache?activeTab=dependencies: npm lists one collaborator.
- raw.githubusercontent.com/Julien-R44/bentocache/main/.github/workflows/release.yml: Current release workflow is configured for npm trusted publishing via OIDC.
- github.com/Julien-R44/bentocache/security: GitHub shows no security policy or published repository advisories.
Good
- It does L1 memory plus L2 Redis caching with bus sync across instances, which Keyv and cache-manager leave to you.
- Built-in stampede protection, grace periods, soft and hard timeouts, and background refresh make the cache keep working when the database fails.
- It has many drivers (Redis, Upstash, SQL, DynamoDB, file, memory), plus OpenTelemetry and Prometheus integrations.
- It is written in TypeScript, has a small dependency tree and no known advisories, and the official AdonisJS cache module is built on it.
Bad
- Several bug reports about grace, TTL, tag and serialization correctness have been open for months.
- One maintainer does most of the work, and core releases have slowed: the last npm version is 1.6.1 from February 2026.
- Its Redis driver is built on ioredis only, and a request for a node-redis driver is still open.
- There are few independent reviews or production reports outside the AdonisJS ecosystem.
The numbers
- npm downloads, 4 weeks
- 520k ×4.8 in a year
- GitHub stars
- 665
- Commits, 12 months
- 42
- npm version
- 1.6.1 Feb 2026
- Versions, 12 months
- 3
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
Read on 21 November 2026 from GitHub (Julien-R44/bentocache), npm (bentocache), OSV and the OpenSSF Scorecard.
Caching and Redis clients
- 8.3node-redis
- 8.2lru-cache
- 7.3Upstash Redis
- 7.1Valkey GLIDE
- 7.0unstorage
- 6.9ioredis
- 6.5BentoCache
- 6.3Keyv
- 6.2cache-manager
- 3.2node-cache