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
I am using caddy and souin as caddy plugin. I have a request from an app owner to be able to make request directly, skipping the cache if the request includes a custom header. I can do it really simple by altering the matcher (see my solution below), but this will bypass the cache module altogether. Ideally, I would like to have the cache module do its own bypass and send the headers (something like cache-status: cache; fwd=uri-miss; key=xxx; detail=BYPASS-REQUESTED).
Not sure how easy is this to implement across all integrations, but putting this out as an idea.
I am using caddy and souin as caddy plugin. I have a request from an app owner to be able to make request directly, skipping the cache if the request includes a custom header. I can do it really simple by altering the matcher (see my solution below), but this will bypass the cache module altogether. Ideally, I would like to have the cache module do its own bypass and send the headers (something like
cache-status: cache; fwd=uri-miss; key=xxx; detail=BYPASS-REQUESTED
).Not sure how easy is this to implement across all integrations, but putting this out as an idea.
The text was updated successfully, but these errors were encountered: