Back to Trending
RepositoryTypeScriptBRBrazil
arthurfiorette

arthurfiorette/axios-cache-interceptor

📬 Small and efficient cache interceptor for axios. Etag, Cache-Control, TTL, HTTP headers and more!

821stars
67forks
2issues
2views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: axios-cache

#1 Repository of the week

1
TINIX TRENDING·Topic: cachecontrol

#1 Repository of the week

1
TINIX TRENDING·Topic: axios-cache-interceptor

#1 Repository of the week

Using this package? Please consider donating to support my open source work ❤️
Help axios-cache-interceptor grow! Star and share this amazing repository with your friends and co-workers!


Axios Cache Interceptor logo


License Codecov Downloads Bundlephobia Last commit



Axios Cache Interceptor

Cache interceptor for axios made with developers and performance in mind.


  • ⚡ Faster!
  • 📦 Handy builds!
  • 🔩 Hassle free!
  • 🛠️ Rich Features!
  • 🌐 No network waste!
  • 🔑 TypeScript!

Axios Cache Interceptor is, as its name says, an interceptor for axios to handle caching. It was created to help developers call axios multiple times without having to worry about overloading the network or implementing a simple and error-prone cache system.




import Axios from 'axios';
import { setupCache } from 'axios-cache-interceptor';

const instance = Axios.create();
const axios = setupCache(instance);

const req1 = axios.get('https://arthur.place/');
const req2 = axios.get('https://arthur.place/');

const [res1, res2] = await Promise.all([req1, req2]);

res1.cached; // false
res2.cached; // true

License

Licensed under the MIT. See LICENSE for more information.

FOSSA Status


Star History

Star History Chart

All Thanks To Our Contributors:


Similar Projects

Discover other similar projects and AI models.

RepositoryTypeScript
freeCodeCamp/freeCodeCamp

freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.

459.9k
Dec 2, 2026
RepositoryPython
donnemartin/system-design-primer

Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.

380.2k
Sep 15, 2026
RepositoryTypeScript
elysiajs/elysia

Ergonomic Framework for Humans

19.4k
Nov 25, 2026
RepositoryTypeScript
alovajs/alova

A fullstack request strategy library. It requests as scenarios, not single calls, across web and server frameworks

4.0k
Nov 28, 2026
RepositoryTypeScript
hatedMe/wechat-request

:rocket::zap:基于Promise实现微信小程序http请求,轻便,小巧,api友好,功能丰富

184
Oct 28, 2026
RepositoryGo
gofiber/fiber

⚡️ Express inspired web framework written in Go

40.4k
Dec 1, 2026
RepositoryPython
httpie/cli

🥧 HTTPie CLI — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more.

38.8k
Dec 17, 2024
RepositoryJavaScript
nuxt-community/axios-module

Secure and easy axios integration for Nuxt 2

1.2k
Oct 13, 2026
RepositoryGo
monaco-io/request

go request, go http client

295
Nov 24, 2025