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
Current behaviour: Souin caches responses with any status code, even if a service returns an error or is down (500/502).
Souin
Expected behaviour: Some responses should not be cached as seen here : Cacheable StatusCodes ( ietf.org)
Example:
The text was updated successfully, but these errors were encountered:
Fixes #169 (#170)
5ef09a9
* Check status code before caching * Added Test for status code checks * Update rfc/standalone.go Co-authored-by: darkweak <darkweak@protonmail.com> * Mirrored change into vendor packages Co-authored-by: choelzl <cedric.hoelzl@helcel.net> Co-authored-by: darkweak <darkweak@protonmail.com>
Merge pull request #1 from darkweak/master
5ce790b
Fixes darkweak#169 (darkweak#170)
Successfully merging a pull request may close this issue.
Current behaviour:
Souin
caches responses with any status code, even if a service returns an error or is down (500/502).Expected behaviour:
Some responses should not be cached as seen here : Cacheable StatusCodes ( ietf.org)
Example:
The text was updated successfully, but these errors were encountered: