Caching - What do these two nginx settings mean?
phpcn_u1582
phpcn_u1582 2017-05-16 17:26:19
0
2
505
proxy_cache_min_uses 3;
proxy_cache_bypass $cookie_nocache $arg_nocache;
phpcn_u1582
phpcn_u1582

reply all(2)
漂亮男人

proxy_cache_min_uses 3; #The results will be cached after 3 queries
proxy_cache_bypass $cookie_nocache $arg_nocache;

When the two variables cookie_nocache and arg_nocache are not empty, the request result will not be taken out from the cache

小葫芦

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template