生产环境下,更新内容后访问是旧内容 #650
Unanswered
ChiMaMe-bean
asked this question in
Q&A
Replies: 1 comment
-
今天我修改了package.json中的版本号,问题暂时解决了,不知道是不是核心问题 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
如题,我把根据vuepress-theme-plume主题做的一个个人小网站部署到了服务器上(生产环境),但是我每次更新内容的时候总会延迟较长时间才显示新的内容,刷新后能正常显示新内容。
主要表现为:通过域名访问主页,然后通过主页按钮前往其他页面,这些页面不能像开发环境一样能实时更新;而只要刷新过一次,本次访问都会是新内容,关闭标签页重新访问一次又显示的是旧内容。
请问这个是因为缓存、vue路由还是其他的原因呢?可以帮助我解决这个问题吗,阅读指南后没有找到方法解决
Beta Was this translation helpful? Give feedback.
All reactions