Skip to content

Conversation

@Nyholm
Copy link
Collaborator

@Nyholm Nyholm commented Jul 31, 2016

The cache plugin creates a cache key from the request. If we modify the request after the cache plugin we may risk that we create a wrong key and serve a wrong cached response.

This PR make sure we always have the cache plugin last in the chain.

@cursedcoder cursedcoder merged commit 92f6f2d into KnpLabs:master Aug 1, 2016
@Nyholm
Copy link
Collaborator Author

Nyholm commented Aug 1, 2016

Thank you for merging

@Nyholm Nyholm deleted the prepend_plugin branch August 1, 2016 07:47
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.

2 participants