agile6v commented on issue #1305: chore: improve plugins/proxy-cache
URL: https://github.com/apache/incubator-apisix/pull/1305#issuecomment-601980037
 
 
   > BTW, the doc mentions that the `502` and `504` returned by APISIX will be 
cached. However, the `cache_http_status` is configurable and doesn't contain 
5xx code by default. IMHO, if you don't configure to cache 5xx code, you don't 
need to be afraid of it.
   
   Hi @spacewander The logic of this plugin is implemented by relying on 
proxy_no_cache directive. But when the upstream is not available, the APISIX 
return 502 to client and without running proxy_no_cache directive. 
   
   Do you have any suggestions?
   
   Thanks.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to