mirror of
https://github.com/arthurfiorette/axios-cache-interceptor.git
synced 2025-12-08 17:36:16 +00:00
style: formatted code
This commit is contained in:
parent
7e5ca7e68a
commit
a7405e1460
@ -166,7 +166,8 @@ exceptions to the method rule.
|
||||
|
||||
- Type: `CachePredicate<R, D>`
|
||||
- Default:
|
||||
`{ statusCheck: (status) => [200, 203, 300, 301, 302, 404, 405, 410, 414, 501].includes(status) }` _(These default status codes follows RFC 7231)_
|
||||
`{ statusCheck: (status) => [200, 203, 300, 301, 302, 404, 405, 410, 414, 501].includes(status) }`
|
||||
_(These default status codes follows RFC 7231)_
|
||||
|
||||
An object or function that will be tested against the response to indicate if it can be
|
||||
cached.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user