koa-cash

JSON →
library 5.0.2 ·javascript
verified Jun 7, 2026

HTTP response caching middleware for Koa (v5.0.2, requires Node >=18). Supports any store (memory, Redis, etc.) via async get/set functions. Handles JSON/stream bodies, gzip compression (opt-in since v4), and 304 responses. Differentiator: minimal, store-agnostic design compared to heavier solutions like koa-response-cache. Pairs well with @ladjs/koa-cache-responses for advanced caching. Active development with periodic releases.