Skip to content

Commit

Permalink
docs: updated download url
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed Dec 26, 2022
1 parent d39cb29 commit c82dfd7
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 25 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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'
2 changes: 1 addition & 1 deletion benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"benny": "^3.7.1",
"express": "^4.18.1"
}
}
}
25 changes: 13 additions & 12 deletions docs/src/generated/benchmark.md
Original file line number Diff line number Diff line change
@@ -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%
2 changes: 1 addition & 1 deletion docs/src/guide/comparison.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) ||
Expand Down
16 changes: 8 additions & 8 deletions docs/src/guide/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
```
Expand Down

0 comments on commit c82dfd7

Please sign in to comment.