You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "guillheu (via GitHub)" <gi...@apache.org> on 2025/11/10 00:25:31 UTC
Re: [I] Hope "forward auth" can set cache time,and, Options requests can be approved [apisix]
guillheu commented on issue #10805:
URL: https://github.com/apache/apisix/issues/10805#issuecomment-3509007736
Hi. I actually have a use case for this.
I have an authentication server which by design will be rather slow, and I cannot expect the clients to respect response headers like `Set-Cookie`. The gateway would be hammered with requests from the same clients repeatedly and would have to query the auth server for each request.
A simple fix on my end would be to have some caching on the auth server itself, but that would still be ever so slightly less efficient (on paper anyways) than having the auth response cached directly at the gateway.
I also successfully achieved that level of auth response caching with nginx, but moved to apisix for other features.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org