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
I'm building an small project with GitHub APIs and by default this is the config Cache-Control: public, max-age=60, s-maxage=60
Cache-Control: public, max-age=60, s-maxage=60
Means GitHub APIs will be cache for next 60 sec of the call. I can't wait for that So, I google to find a solution and I found this https://github.com/octokit/rest.js/issues/890#issuecomment-392193948
Just use a basic config 'If-None-Match': '' in header and that's all.
'If-None-Match': ''
Like this.
axios.get(url, {header: {'If-None-Match': ''}})
The text was updated successfully, but these errors were encountered:
mddanishyusuf
No branches or pull requests
I'm building an small project with GitHub APIs and by default this is the config
Cache-Control: public, max-age=60, s-maxage=60
Means GitHub APIs will be cache for next 60 sec of the call. I can't wait for that So, I google to find a solution and I found this https://github.com/octokit/rest.js/issues/890#issuecomment-392193948
Just use a basic config
'If-None-Match': ''
in header and that's all.Like this.
axios.get(url, {header: {'If-None-Match': ''}})
The text was updated successfully, but these errors were encountered: