Documentation

Production-ready multi-layer caching for Node.js

Welcome to the Layercache documentation.

Layercache stacks memory, Redis, and disk behind a single API with stampede prevention, tag invalidation, stale-while-revalidate, and full observability.

  • Getting Started — Install and configure your first cache stack
  • Tutorial — 10-step walkthrough of production features
  • API Reference — Complete method and option documentation
  • Integrations — Express, Fastify, NestJS, Hono, tRPC, GraphQL