{"library":"cacheable-response","type":"library","category":null,"description":"An HTTP-compliant route path middleware for serving cached responses with invalidation for Node.js. Version 2.10.8 supports Node >=12 and is actively maintained (frequent releases). It provides a framework-agnostic caching layer for SSR, with built-in LRU cache, automatic TTL-based invalidation, and stale-while-revalidate support. Unlike simple in-memory caches, it integrates cache status headers (MISS, HIT, EXPIRED, BYPASS, STALE) and works with any HTTP server framework. Key differentiators: focus on SSR caching, auto-invalidation, and easy integration with Express, Fastify, or raw http.","language":"javascript","status":"active","version":"2.10.8","tags":["javascript","cache","cacheable","caching","cloudflare","http","https","layer","response"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install cacheable-response","imports":["const cacheableResponse = require('cacheable-response')","const ssrCache = require('cacheable-response')({ get, send })","app.use((req, res) => ssrCache({ req, res }))"]},{"cmd":"yarn add cacheable-response","imports":[]},{"cmd":"pnpm add cacheable-response","imports":[]}],"homepage":"https://github.com/Kikobeats/cacheable-response","github":"https://github.com/Kikobeats/cacheable-response","docs":null,"changelog":null,"pypi":null,"npm":"cacheable-response","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}