location /test {
root html;
index index.html index.htm;
expires -1;
if_modified_since off;
add_header Last-Modified "";
add_header Cache-Control no-cache;
etag off;
}
nginx配置取消缓存,解决页面返回304状态
最新推荐文章于 2024-06-11 23:56:22 发布