Skip to content

Comments

Ensure unsuccessful responses are not cached#2646

Merged
dunglas merged 1 commit intoapi-platform:2.4from
bpolaszek:2.4
Mar 25, 2019
Merged

Ensure unsuccessful responses are not cached#2646
dunglas merged 1 commit intoapi-platform:2.4from
bpolaszek:2.4

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.

3 participants