-
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: proxy-cache not support restful api #7096
Comments
Hi @galaxy-sea I don't understand what you are trying to say.
|
@galaxy-sea Do you mean that when you create a route with the |
yes , the second POST request should not hit the cache. |
@galaxy-sea What's your APISIX version? Would you try to use the latest APISIX and set the The default cache strategy is disk and I'm afraid there is bug there about the cache method handling. |
APISIX version is 2.10.1, Apache APISIX does not implement the standard HTTP cache😭😭😭. |
The configuration of cache_method, under the disk policy, controls whether the response will be written to the cache. During the request process, if the cache_key matches, the data in the cache will be retrieved to respond to the client |
Current Behavior
Test Plugin:
Expected Behavior
Test Plugin:
Error Logs
No response
Steps to Reproduce
11
Environment
apisix version
):uname -a
):openresty -V
ornginx -V
):curl http://127.0.0.1:9090/v1/server_info
):luarocks --version
):The text was updated successfully, but these errors were encountered: