nginx配置,nginx.conf配置如下内容。

`
location ~ .*.(gif|jpg|jpeg|png|bmp|swf|js|css)$ {
#禁止缓存,每次都从服务器请求
add_header Cache-Control no-store;
}
`