From c5629be9e55d44fcf1ee293e324dfb3eb879a847 Mon Sep 17 00:00:00 2001 From: arthurfiorette Date: Sat, 15 Jan 2022 21:32:00 -0300 Subject: [PATCH] docs: updated download urls --- docs/pages/installing.md | 16 ++++++++++++---- docs/pages/request-id.md | 3 ++- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/docs/pages/installing.md b/docs/pages/installing.md index 67fecb9..c8b95ee 100644 --- a/docs/pages/installing.md +++ b/docs/pages/installing.md @@ -41,11 +41,19 @@ const { setupCache } = window.AxiosCacheInterceptor; ``` ```html - - + + - - + + ``` ## With URL imports diff --git a/docs/pages/request-id.md b/docs/pages/request-id.md index f090afb..dd658da 100644 --- a/docs/pages/request-id.md +++ b/docs/pages/request-id.md @@ -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: