{"library":"cacheable-request","type":"library","category":null,"description":"cacheable-request provides RFC 7234 compliant HTTP caching for Node.js's native HTTP and HTTPS modules. It is a low-level wrapper, not a high-level request library, designed to add caching capabilities directly to `http.request` or `https.request`. The current stable version is 13.0.18, with frequent patch and minor updates, and occasional breaking changes between major versions as seen in recent changelogs. Key differentiators include its strict adherence to RFC 7234 for cache validation and storage logic, out-of-the-box in-memory caching, and a highly pluggable architecture for various storage adapters, prominently featuring Keyv for flexible backend integration. It handles fresh and stale cache entries, revalidation with `If-None-Match`/`If-Modified-Since`, and 304 responses, updating the `Age` header accordingly.","language":"javascript","status":"active","version":"13.0.18","tags":["javascript","HTTP","HTTPS","cache","caching","layer","cacheable","RFC 7234","RFC","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install cacheable-request","imports":["import CacheableRequest from 'cacheable-request';","import CacheableRequest, { Request } from 'cacheable-request';","import { Options } from 'cacheable-request';"]},{"cmd":"yarn add cacheable-request","imports":[]},{"cmd":"pnpm add cacheable-request","imports":[]}],"homepage":null,"github":"https://github.com/jaredwray/cacheable","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/cacheable-request","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/cacheable-request/compatibility"}}