Caching – Was bedeuten diese beiden Nginx-Einstellungen?
phpcn_u1582
phpcn_u1582 2017-05-16 17:26:19
0
2
462
proxy_cache_min_uses 3;
proxy_cache_bypass $cookie_nocache $arg_nocache;
phpcn_u1582
phpcn_u1582

Antworte allen(2)
漂亮男人

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

Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage
Über uns Haftungsausschluss Sitemap
Chinesische PHP-Website:Online-PHP-Schulung für das Gemeinwohl,Helfen Sie PHP-Lernenden, sich schnell weiterzuentwickeln!