koa-cache-lite

JSON →
library 3.8.8 ·javascript
verified Jun 7, 2026

A zero-dependency Koa router cache middleware (v3.8.8, stable). Provides in-memory and optional Redis-based caching with route-specific timeout configuration, increasing cache timeout based on request frequency, and customizable cache key fragments from headers or query parameters. Key differentiators: no dependencies, simple API with configure/middleware/clear, support for cluster environments, and fine-grained cache key control.