Skip to content
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

Ensure unsuccessful responses are not cached #2646

Merged
merged 1 commit into from
Mar 25, 2019
Merged

Ensure unsuccessful responses are not cached #2646

merged 1 commit into from
Mar 25, 2019

Conversation

bpolaszek
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes

Following our conversation on Slack, this PR aims at avoiding Api-Platform to generate cache headers on 4xx / 5xx responses.

@dunglas dunglas merged commit 5c222d3 into api-platform:2.4 Mar 25, 2019
@dunglas
Copy link
Member

dunglas commented Mar 25, 2019

Thanks @bpolaszek, good catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants