-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: plugins:proxy_cache, GET ,apisix-cache-status return,but POST not. #4776
Comments
@zhangdadan Thank for your report, it seems there is a bug in the |
I find |
Currently it's not dynamic, and cannot be extended by the plugin configuration. |
But,I has configured by myself and add |
You can try the configuration here: Line 599 in 6655a35
|
|
apisix:v2.8
plugins:proxy_cache
my conf:
"plugins": { "proxy-cache": { "cache_method": [ "POST", "GET" ], "disable": false, "hide_cache_headers": true } },
I print ngx.var find that GET
upstream_cache_status
has value,but POST not at file/usr/local/apisix/apisix/plugins/proxy-cache.lua
What's wrong?
The text was updated successfully, but these errors were encountered: