首页 > 请教这两个 nginx 设置是什么意思?

请教这两个 nginx 设置是什么意思?

proxy_cache_min_uses 3;
proxy_cache_bypass $cookie_nocache $arg_nocache;

proxy_cache_min_uses 3; #3次查询之后结果会缓存
proxy_cache_bypass $cookie_nocache $arg_nocache;

cookie_nocache和arg_nocache这两个变量不为空时该次请求结果不从缓存中取出


http://nginx.org/cn/docs/http/ngx_http_proxy_module.html

【热门文章】
【热门文章】