docs: updated download url

This commit is contained in:
arthurfiorette 2022-12-26 12:34:16 -03:00
parent d39cb29291
commit c82dfd7745
No known key found for this signature in database
GPG Key ID: 9D190CD53C53C555
5 changed files with 26 additions and 25 deletions

View File

@ -35,7 +35,7 @@ jobs:
- name: Build for ${{ github.event.inputs.version }}
run: yarn docs:build --base /${{ github.event.inputs.version }}/
- name: Deploy to ${{ github.event.inputs.version }}
uses: JamesIves/github-pages-deploy-action@v4
with:
@ -45,7 +45,7 @@ jobs:
target-folder: ${{ github.event.inputs.version }}
clean: true
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "Deploy docs for ${{ github.event.inputs.version }}"
commit-message: 'Deploy docs for ${{ github.event.inputs.version }}'
- name: Build for main
run: yarn docs:build
@ -59,4 +59,4 @@ jobs:
clean-exclude: v*
branch: gh-pages
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "Deploy docs for latest"
commit-message: 'Deploy docs for latest'

View File

@ -18,4 +18,4 @@
"benny": "^3.7.1",
"express": "^4.18.1"
}
}
}

View File

@ -1,20 +1,21 @@
# Result
Run at Sun, 25 Dec 2022 22:05:02 GMT
Commit: b6b9fc92eaa602597da6fa780445ad495943cee9
Run at Sun, 25 Dec 2022 22:05:02 GMT Commit: b6b9fc92eaa602597da6fa780445ad495943cee9
## CACHE INTERCEPTOR
- Operations: 39282/s
- Network requests: 1 of 190041
- Performance: 100.00%
- Operations: 39282/s
- Network requests: 1 of 190041
- Performance: 100.00%
## CACHE ADAPTER
- Operations: 36315/s
- Network requests: 2 of 180292
- Performance: 92.45%
- Operations: 36315/s
- Network requests: 2 of 180292
- Performance: 92.45%
## AXIOS
- Operations: 1787/s
- Network requests: 8956 of 8956
- Performance: 4.55%
- Operations: 1787/s
- Network requests: 8956 of 8956
- Performance: 4.55%

View File

@ -23,7 +23,7 @@
| Expires & Age header | ✅ | 🟡 | 🛑 |
| ETag and If-None-Match header | ✅ | 🛑 | 🛑 |
| If-Modified-Size header | ✅ | 🛑 | 🛑 |
| Bundle size | **4.3Kb** (gzip) | 18.9Kb (gzip) | 19.5Kb (gzip) |
| Bundle size | **4.4Kb** (gzip) | 18.9Kb (gzip) | 19.5Kb (gzip) |
| Typescript declaration | ✅ (Custom interface) | ✅ (Applied globally) | ✅(Applied globally) |
| Custom cache keys | ✅ | ✅ | ✅ |
| Multiple storages | ✅ | 🔶 (Only localForage) | ✅ |

View File

@ -14,22 +14,22 @@ The fastest way to get axios with cache set up and running is to install it with
yarn
```bash
yarn add axios@1 axios-cache-interceptor@1
npm install axios@1 axios-cache-interceptor@1
yarn add axios axios-cache-interceptor
npm install axios axios-cache-interceptor
```
```html
<!-- Development UMD build for ES2017+ (~12.6 KiB) -->
<!-- Development UMD build for ES2017+ (~13 KiB) -->
<script
src="https://cdn.jsdelivr.net/npm/axios-cache-interceptor@0.10.7/dev/index.bundle.js"
integrity="sha256-oTqUncNoX9DcUWIb5sLS2tscPHKqUPL0yLlOXSSXzSY="
src="https://cdn.jsdelivr.net/npm/axios-cache-interceptor@1.0.0/dev/index.bundle.js"
integrity="sha256-IQeFXs7Q4XpPQAqvXrq5dSFOespi25XswgB9lTP3lbI="
crossorigin="anonymous"
></script>
<!-- Production UMD build for ES5+ (~14.2 KiB) -->
<!-- Production UMD build for ES5+ (~14.6 KiB) -->
<script
src="https://cdn.jsdelivr.net/npm/axios-cache-interceptor@0.10.7/dist/index.bundle.js"
integrity="sha256-Dc3BSxOZSDmoVoB11lhxkqH8VdBQjxWkHUmmDotiKJ4="
src="https://cdn.jsdelivr.net/npm/axios-cache-interceptor@1.0.0/dist/index.bundle.js"
integrity="sha256-4N58khN2nV+P1NTUwRznqALDjhfl6ERO99Cltk3AN4Y="
crossorigin="anonymous"
></script>
```