darkweak / souin

An HTTP cache system, RFC compliant, compatible with @tyktechnologies, @traefik, @caddyserver, @go-chi, @bnkamalesh, @beego, @devfeel, @labstack, @gofiber, @go-goyave, @go-kratos, @gin-gonic, @roadrunner-server, @zalando, @zeromicro, @nginx and @apache
https://docs.souin.io
MIT License
718 stars 56 forks source link

feat: add current used storage in the detail parameter #537

Closed darkweak closed 3 months ago

darkweak commented 4 months ago

Actually we don't know which storage has been used to retrieve the data from the cache. Let's add that in the Cache-Status HTTP response header in the detail parameter.
This will provide a way to debug which storage can cause issues, or just check if the target storage is well used.