在nginx中已设置
server{
listen 80;
server_name static.commao.com;
index index.html index.htm index.php;
root /home/web/commaoSite/v2.0.5/img.commao.com;
location ~ .*.(gif|jpg|jpeg|png|bmp|swf)?$
{
expires 30d;
}
location ~ .*\.(js|css|svg|eot|ttf|woff)?$
{
expires 12h;
}
access_log /home/wwwlogs/staticcommao.log access;
}
但浏览器中Cache-Control:"max-age=0" 是怎么回事