-
Notifications
You must be signed in to change notification settings - Fork 107
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
Fix Proxy response caching #247
Conversation
I think the |
Codecov Report
@@ Coverage Diff @@
## master #247 +/- ##
=========================================
Coverage 99.68% 99.68%
Complexity 1513 1513
=========================================
Files 250 250
Lines 4396 4404 +8
=========================================
+ Hits 4382 4390 +8
Misses 14 14
Continue to review full report at Codecov.
|
Before:
After:
|
Nice, looks promising, I need to verify it, but we'll probably merge it. Thanks 🍻 |
Response::isNotModified() doesn't need to be wrapped in the if statement, as it'll remove the content (even for a StreamedResponse)
Thanks @giggsey 🍻 |
Only add the Response stream if the Request results in a cache miss.
Fixes #207