You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/03/21 02:22:36 UTC

[GitHub] [incubator-apisix] agile6v commented on issue #1305: chore: improve plugins/proxy-cache

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:
users@infra.apache.org


With regards,
Apache Git Services