axios-cache-interceptor

JSON →
library 1.12.0 ·javascript
verified Jun 7, 2026

A cache interceptor for Axios that transparently caches HTTP responses in memory (or custom storage) to reduce network requests. Version 1.12.0, actively maintained with weekly releases. Supports per-request TTL, cache invalidation, response cloning, and custom storage backends like localStorage. Ships TypeScript definitions. Notable differentiators: works as an Axios interceptor (not a wrapper), provides cached property on responses, and supports fine-grained cache control per request. Requires Axios 1.x as a peer dependency.