You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can use ChainCache for using multiple cache storage.
But we can change for checking the presence of the header before setting it! Would you like to make a PR about this?
Hi!
I have two layers of cache: memory and redis:
Suggest we have cached response in redis. We make
$client->request()
.I expect:
X-Kevinrob-Cache: HIT
I see:
X-Kevinrob-Cache: MISS
redis middleware set
X-Kevinrob-Cache
toHIT
inguzzle-cache-middleware/src/CacheMiddleware.php
Line 154 in 57c5793
X-Kevinrob-Cache
toMISS
inguzzle-cache-middleware/src/CacheMiddleware.php
Line 223 in 57c5793
Maybe need to check
X-Kevinrob-Cache
header before set it toMISS
?The text was updated successfully, but these errors were encountered: