Skip to content

Commit

Permalink
docs: updated download urls
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed Jan 16, 2022
1 parent b555f95 commit c5629be
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
18 changes: 13 additions & 5 deletions docs/pages/installing.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,19 @@ const { setupCache } = window.AxiosCacheInterceptor;
```

```html
<!-- Production for ES6+ (~12.2KB) -->
<script src="https://cdn.jsdelivr.net/npm/axios-cache-interceptor@0.8.2/umd/es6.js" integrity="sha256-knwlPudOCSuVUXzq9OMCFjjP/jg+nYQi5oLpZTFmzAk=" crossorigin="anonymous"></script>

<!-- Production for ES5+ (~20.5KB) (Needs Promise polyfill) -->
<script src="https://cdn.jsdelivr.net/npm/axios-cache-interceptor@0.8.2/umd/es5.js" integrity="sha256-CKHNTt/NYMXYFQlGdJM2Uc0IWSCQBBhdIPVuFGfEBJ8=" crossorigin="anonymous"></script>
<!-- Production for ES6+ (~9.5KB) -->
<script
src="https://cdn.jsdelivr.net/npm/axios-cache-interceptor@0.8.3/umd/es6.js"
integrity="sha256-nKoAFeqfjqk/zGKrsCJbFcFAn86H12uVGosvfKzrPQA="
crossorigin="anonymous"
></script>

<!-- Production for ES5+ (~12.8KB) (Needs Promise polyfill) -->
<script
src="https://cdn.jsdelivr.net/npm/axios-cache-interceptor@0.8.3/umd/es5.js"
integrity="sha256-K4+/MYdTXXV7Z9Y2O9CKUNIFOWOo0pjA/22UKUvq1hE="
crossorigin="anonymous"
></script>
```

## With URL imports
Expand Down
3 changes: 2 additions & 1 deletion docs/pages/request-id.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ Everything that is used to treat two requests as same or not, is done by the `ge
property.

By default, it uses the `method`, `baseURL`, `params`, `data` and `url` properties from
the request object into an hash code generated by the [`object-code`](https://www.npmjs.com/package/object-code) library.
the request object into an hash code generated by the
[`object-code`](https://www.npmjs.com/package/object-code) library.

If you need to change or share the cache for two requests based on other properties, like
headers and etc, you can create your own Key Generator:
Expand Down

0 comments on commit c5629be

Please sign in to comment.