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
Cache is useful, but i don't wish for it to be set in stone if it should be enabled or disabled
Full context here: https://stackoverflow.com/questions/52349984/chrome-cors-requests-are-faster-when-cache-is-disabled
Another explanation of the problem here: https://stackoverflow.com/questions/27513994/chrome-stalls-when-making-multiple-requests-to-same-resource
with fetch you can set the cache option like so:
fetch(url, { cache: default || reload || no-cache }
when falling back to XMLHttpRequest you would have to add the header
'cache-control': 'no-cache, no-store'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Cache is useful, but i don't wish for it to be set in stone if it should be enabled or disabled
Full context here: https://stackoverflow.com/questions/52349984/chrome-cors-requests-are-faster-when-cache-is-disabled
Another explanation of the problem here: https://stackoverflow.com/questions/27513994/chrome-stalls-when-making-multiple-requests-to-same-resource
with fetch you can set the cache option like so:
when falling back to XMLHttpRequest you would have to add the header
The text was updated successfully, but these errors were encountered: