Skip to content

Conversation

astalker
Copy link
Contributor

Following through the logic, if the cache is invalid the fallback cache is only fetched when $this->cacheFailResponses is true. So this change ensures that invalid responses are only cached when the variable is set.

@shieldo
Copy link
Contributor

shieldo commented Apr 21, 2017

Seems like a reasonable change. Thanks!

@shieldo shieldo merged commit 63b5e11 into usemarkup:master Apr 21, 2017
@astalker astalker deleted the cache-failures branch April 21, 2017 13:34
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