From c82dfd7745e19f607aa83ee2474d3bb406047881 Mon Sep 17 00:00:00 2001 From: arthurfiorette Date: Mon, 26 Dec 2022 12:34:16 -0300 Subject: [PATCH] docs: updated download url --- .github/workflows/docs.yml | 6 +++--- benchmark/package.json | 2 +- docs/src/generated/benchmark.md | 25 +++++++++++++------------ docs/src/guide/comparison.md | 2 +- docs/src/guide/getting-started.md | 16 ++++++++-------- 5 files changed, 26 insertions(+), 25 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index ba7cb6de..a8df0d04 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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" \ No newline at end of file + commit-message: 'Deploy docs for latest' diff --git a/benchmark/package.json b/benchmark/package.json index 82b70bb1..f9e28d8a 100755 --- a/benchmark/package.json +++ b/benchmark/package.json @@ -18,4 +18,4 @@ "benny": "^3.7.1", "express": "^4.18.1" } -} \ No newline at end of file +} diff --git a/docs/src/generated/benchmark.md b/docs/src/generated/benchmark.md index 34bf1dcc..1c2f3566 100644 --- a/docs/src/generated/benchmark.md +++ b/docs/src/generated/benchmark.md @@ -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% diff --git a/docs/src/guide/comparison.md b/docs/src/guide/comparison.md index 94762bba..bfb3501a 100644 --- a/docs/src/guide/comparison.md +++ b/docs/src/guide/comparison.md @@ -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) | ✅ | diff --git a/docs/src/guide/getting-started.md b/docs/src/guide/getting-started.md index f6806bae..c517595a 100644 --- a/docs/src/guide/getting-started.md +++ b/docs/src/guide/getting-started.md @@ -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 - + - + ```