kill 缓存
location /front/js/stat.js{
root html;
#kill 缓存
add_header Last-Modified $date_gmt;
add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
if_modified_since off;
expires off;
etag off;
}
location /front/js/stat.js{
root /home/nginx/nginx-1.12.1/;
#kill 缓存
add_header Last-Modified $date_gmt;
add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
if_modified_since off;
expires off;
etag off;
}

浙公网安备 33010602011771号