Skip to content

Commit

Permalink
docs: improved override docs
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed Jun 5, 2022
1 parent 67bad37 commit dfe1595
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/pages/per-request-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
6 changes: 3 additions & 3 deletions src/cache/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ export type CacheProperties<R = unknown, D = unknown> = {
* 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
*/
Expand Down

0 comments on commit dfe1595

Please sign in to comment.