nginx配置文件修改,禁止這些資源的緩存,nginx需要做如下配置:
location / { root html; index index.html; add_header Cache-Control no-cache; }
服務端拉取最新的資源,保證項目及時更正。
參考:https://www.cnblogs.com/kevingrace/p/10459429.html
nginx配置文件修改,禁止這些資源的緩存,nginx需要做如下配置:
location / { root html; index index.html; add_header Cache-Control no-cache; }
服務端拉取最新的資源,保證項目及時更正。
參考:https://www.cnblogs.com/kevingrace/p/10459429.html