1
iCodex 2014-10-28 23:01:30 +08:00
对动态的页面进行缓存是愚蠢的行为。但总归是要面对。
那就直接pipe掉~ 缓存不作处理。 proxy_cache_bypass $cookie_nocache $arg_nocache $arg_comment; proxy_no_cache $cookie_nocache $arg_nocache $arg_comment; proxy_cache_bypass $http_pragma $http_authorization; proxy_no_cache $http_pragma $http_authorization; proxy_cache_bypass $skip_cache; proxy_no_cache $skip_cache; more: http://nginx.com/resources/admin-guide/caching/ |
2
notsobad 2014-10-28 23:21:14 +08:00
proxy_cache ui-proxy-cache;
proxy_cache_bypass $cookie_user; proxy_no_cache $cookie_user; |