Results 217 comments of darkweak

@stpp2 Do you want to know when it's stored or when it serves cached responses?

What is the use case? To have some metrics? You can detect if it has been stored reading the `Cache-Status` HTTP response header that should have the `stored` directive.

How do you sync the cache between multiple instances? Why not using a redis cluster that can be accessed by all your instances?

Hello @cdaguerre that's something I would like to implement in the cache-handler/souin but I didn't find a way to do that without impacting the performances.

@pde001 what is this PR?

Hello @garraflavatra thank you for posting this issue. I will try to fix that. My first idea would be about a broken pipe between caddy and your redis instance and...

@garraflavatra reading your logs, there is the `Cache-Control: no-cache` HTTP request header. To bypass that you can use the directive `mode bypass_request` in the configuration.

Hey @EdBailey nice edge case, I'll put it on top of my todo list.

e.g. With the Caddyfile only ``` { cache { ttl 5s } } localhost:9080 { route /cache-set-cookie { cache reverse_proxy localhost:9087 { header_down +Cache-Control no-cache=Set-Cookie } } } ```

@EdBailey You can try with the latest version of Souin (v1.7.8).