mirror of
https://github.com/arthurfiorette/axios-cache-interceptor.git
synced 2025-12-08 17:36:16 +00:00
21 lines
623 B
Markdown
21 lines
623 B
Markdown
# Introduction
|
|
|
|
## What is this library?
|
|
|
|
This package is an interceptor for [axios](https://axios-http.com/) that adds caching
|
|
capabilities to it. It is a simple, easy to use and powerful library.
|
|
|
|
You can use it to optimize requests and not have to worry about duplicated requests or
|
|
even needing one of those fat javascript libraries for state management.
|
|
|
|
## Features
|
|
|
|
- [x] Concurrent requests
|
|
- [x] Typescript support
|
|
- [x] Unit tests
|
|
- [x] Header interpretation
|
|
- [x] ETag and If-Modified-Since cache support
|
|
- [x] Infinity storage options
|
|
- [x] Cache revalidation from responses
|
|
- [x] Support for external storages
|