From dfe1595f3bc76f8cffb365287decb4c22bff7fe6 Mon Sep 17 00:00:00 2001 From: arthurfiorette Date: Sun, 5 Jun 2022 20:56:34 -0300 Subject: [PATCH] docs: improved override docs --- docs/pages/per-request-configuration.md | 6 +++--- src/cache/cache.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/pages/per-request-configuration.md b/docs/pages/per-request-configuration.md index 5ec80b6..92ae12a 100644 --- a/docs/pages/per-request-configuration.md +++ b/docs/pages/per-request-configuration.md @@ -166,8 +166,8 @@ Possible types: This option bypasses the current cache and always make a new http request. This will not delete the current cache, it will just replace the cache when the response arrives. -Unlike from `cache: false`, this will not disable the cache, it will just ignore the cache -checks before making the request. This way, all options are still available and will work -as expected. +Unlike as `cache: false`, this will not disable the cache, it will just ignore the +pre-request cache checks before making the request. This way, all post-request options are +still available and will work as expected. Default: `false` diff --git a/src/cache/cache.ts b/src/cache/cache.ts index 0cdecca..462800a 100644 --- a/src/cache/cache.ts +++ b/src/cache/cache.ts @@ -114,9 +114,9 @@ export type CacheProperties = { * This option bypasses the current cache and always make a new http request. This will * not delete the current cache, it will just replace the cache when the response arrives. * - * Unlike from `cache: false`, this will not disable the cache, it will just ignore the - * cache checks before making the request. This way, all options are still available and - * will work as expected. + * Unlike as `cache: false`, this will not disable the cache, it will just ignore the + * pre-request cache checks before making the request. This way, all post-request + * options are still available and will work as expected. * * @default false */