-
Notifications
You must be signed in to change notification settings - Fork 31
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
Feature request: cache fetch requisitions #637
Comments
Marking as a feature request. We would definitely want/need people to opt into this. This may also help: #528 (comment)
|
@smcenlly Any way we could do something similar to next JS and just override https://beta.nextjs.org/docs/data-fetching/fetching#revalidating-data |
@BLamy - yes, you could create a Quokka plugin to do this for you. If you are using If you're using something like You can read about plugins in our docs. There are a number of open source plugins referenced in the docs, and should provide a good basis for getting started with a plugin that caches fetch requests. If you end up creating a plugin, please let us know and we may add it to our website. |
Issue description or question
I'm using node-fetch to use fetch using quokka and today I got locked out of the github API because too many requisitions are sent as you play around...
Maybe for fetch specifically (maybe more), there could be something, quokka specific that memoize/intercepts and return the same value until something is changed in that expression.
The text was updated successfully, but these errors were encountered: