Axios Cacher

JSON →
library 1.1.4 ·javascript
verified Jun 7, 2026

Axios-cacher is a lightweight caching wrapper for Axios that stores API response data in memory with configurable expiration (maxAge) and manual cache invalidation via user keys. The current stable version is 1.1.4, released in 2021 with no notable update cadence. It provides a setup function returning both a cached axios client and an invalidation helper. Unlike generic caching solutions, it ties cache entries to unique user keys for targeted invalidation. The package is minimal (no persistence, no external dependencies beyond axios) and targets Node.js environments.