axios-cache-adapter
JSON →Caching adapter for axios that stores GET request results in a configurable store to prevent unnecessary network requests. Current stable version is 2.7.3, with releases following a maintenance cadence. The library provides two main APIs: setupCache() for creating a standalone cache adapter, and setup() for creating a pre-configured axios instance. It supports per-request cache configuration and uses localForage as the default store. Unlike other axios caching solutions, it relies on localForage for cross-browser IndexedDB/WebSQL/LocalStorage support. Requires peer dependency axios ~0.21.1.
Resources
packageaxios-cache-adapter ↗
API endpoints
full doc /v1/registry/axios-cache-adapter