mirror of
https://github.com/arthurfiorette/axios-cache-interceptor.git
synced 2025-12-08 17:36:16 +00:00
docs: improved override docs
This commit is contained in:
parent
67bad3772d
commit
dfe1595f3b
@ -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
src/cache/cache.ts
vendored
6
src/cache/cache.ts
vendored
@ -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
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user