#公司测试化境经常更新前端代码,需要关闭缓存 1.使用无痕模式 2.开启浏览器 Disable cache 3.配置nginx location ~* .(jpg|png|gif)$ { root /code/cache; add_header Cache-Control no-cache; etag off; if_modified_since off; }