问题描述
proxy_cache_min_uses 3;proxy_cache_bypass $cookie_nocache $arg_nocache;
问题解答
回答1:proxy_cache_min_uses 3; #3次查询之后结果会缓存proxy_cache_bypass $cookie_nocache $arg_nocache;
cookie_nocache和arg_nocache这两个变量不为空时该次请求结果不从缓存中取出回答2:http://nginx.org/cn/docs/http/ngx_http_proxy_module.html