Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(199): add ability to disable cache #204

Merged
merged 1 commit into from
Apr 11, 2020
Merged

Conversation

simoneb
Copy link
Owner

@simoneb simoneb commented Apr 11, 2020

This feature introduces the ability to disable caching
entirely when using configure or makeUseAxios,
by setting the cache option to false:

// with configure
configure({ cache: false })

// with makeUseAxios
const useAxios = makeUseAxios({ cache: false })

fixes #199

@simoneb simoneb force-pushed the feat-199-disable-cache branch 2 times, most recently from 3641e96 to 602e0ee Compare April 11, 2020 10:56
This feature introduces the ability to disable caching
entirely when using `configure` or `makeUseAxios`,
by setting the `cache` option to false:

```
// with configure
configure({ cache: false })

// with makeUseAxios
const useAxios = makeUseAxios({ cache: false })
```

fixes #199
@simoneb simoneb force-pushed the feat-199-disable-cache branch from 602e0ee to b8f504a Compare April 11, 2020 11:01
@simoneb simoneb merged commit e9d1f60 into master Apr 11, 2020
@simoneb simoneb deleted the feat-199-disable-cache branch April 11, 2020 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option to disable cache with makeUseAxios
1 participant