axios-etag-cache

JSON →
library 1.4.0 ·javascript
verified Jun 7, 2026

Axios interceptor that adds automatic ETag caching for HTTP requests. It intercepts requests and adds If-None-Match headers, then caches responses with their ETags to return cached data on 304 responses, reducing bandwidth and server load. Current stable version is 1.4.0, with infrequent releases; communicates only via GitHub. Key differentiator: lightweight, zero-config ETag caching specifically for Axios, with optional custom cache storage (e.g., RxDB) and POST request support. Requires axios >= 0.24.0 as a peer dependency.