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

Home Page:https://docs.souin.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Better explanation on mode option

fliespl opened this issue · comments

It would be great, if there were precise descriptions how each mode behaves.

Currently it's more like trial & error on my part, but feels like "bypass_request" is the way to go, if I simply want to ignore cache-control / pragma (devtools mode) from the user.

Hey @fliespl Indeed it's difficult to understand what does each directives without the background of this discussion #345 (more precisely this comment #345 (comment)). I'm currently writing a documentation website (https://github.com/darkweak/souin/tree/feat/documentation/website/souin-documentation) to reduce the lack of explanations, have some use cases, concrete examples, ....