We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when i refresh the page the information response is still the old one.
The text was updated successfully, but these errors were encountered:
I took a look in the code and it seems that the options are passed to the native fetch implementation: https://github.com/niftylettuce/frisbee/blob/master/src/frisbee.js#L184
options
fetch
According to the Fetch API you need add the cache key with value reload to the options:
cache
reload
res = await api.get('/v1/messages', { cache: 'reload' });
For an explanation of the possible cache modes, look here
Sorry, something went wrong.
@niftylettuce maybe add some docs showing that opts can be passed through to fetch?
Done.
docs: added docs for caching (closes #34)
315271c
No branches or pull requests
when i refresh the page the information response is still the old one.
The text was updated successfully, but these errors were encountered: