禁止nginx缓存:
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf|js|css)$ add_header Cache-Control no-store; #禁止缓存,每次都从服务器请求 }
如上是禁止静态文件缓存,其它同理