You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
现在时候是否存在这个问题,前端项目发布了新版本,浏览器缓存了index.html文件,前端还是老版本。
比如nginx需要根据不同的文件设置不同的缓存规则
index.html文件不缓存
js、css等文件需要缓存一段时间
4xx、5xx等文件一般不会变可以缓存更长时间
Beta Was this translation helpful? Give feedback.
All reactions