Home  >  Q&A  >  body text

Caching - What do these two nginx settings mean?

proxy_cache_min_uses 3;
proxy_cache_bypass $cookie_nocache $arg_nocache;
phpcn_u1582phpcn_u15822712 days ago456

reply all(2)I'll reply

  • 漂亮男人

    漂亮男人2017-05-16 17:28:19

    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

    reply
    0
  • 高洛峰

    高洛峰2017-05-16 17:28:19

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

    reply
    0
  • Cancelreply