axios-cache-adapter-fixed

JSON →
library 1.0.8 ·javascript
verified Jun 7, 2026

A caching adapter for axios that stores request results in a configurable store to prevent unnecessary network requests. Version 1.0.8, released as a fixed fork of the original axios-cache-adapter. It wraps axios to cache GET requests (configurable) using localForage or any compatible store. Key differentiators include simple setup via setupCache() or setup(), per-request cache option overrides, and TypeScript type definitions. It is a lightweight alternative to more complex caching solutions like react-query or SWR, but limited to axios-only use.