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

Cache option #142

Open
DragonWhisperer opened this issue Oct 19, 2020 · 2 comments
Open

Cache option #142

DragonWhisperer opened this issue Oct 19, 2020 · 2 comments
Labels
pending question Further information is requested

Comments

@DragonWhisperer
Copy link

Is there a way to cache get requests like axios-extensions?

@atinux
Copy link
Member

atinux commented Oct 22, 2020

Hi @DragonWhisperer

I believe you can use the the hooks in order to do this: https://http.nuxtjs.org/hooks

Also see https://github.com/sindresorhus/ky#hooksbeforerequest

@atinux atinux added the question Further information is requested label Oct 22, 2020
@pi0
Copy link
Member

pi0 commented Oct 28, 2020

Since we are migrating to a pure fetch implementation, worth checking out (https://github.com/npm/make-fetch-happen) for Node.js cache :)

@atinux atinux added the pending label Dec 21, 2020 — with Volta.net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants