nginx 缓存机制
location / {// 此location中使用默认的缓存配置proxy_pass http://backend1;}location /some/path {proxy_pass http://backend2;// 缓存有效期为1分钟proxy_cache_valid any 1m;// 被请求3次以上时才缓存proxy_cache_min_uses 3;// 请求中有下面参数值时不走缓存proxy_cache_bypass $cookie_nocache $arg_nocache$arg_comm...