-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
js 缓存问题 #200
Comments
多谢,现在 js 和 css 文件修改后文件名会修改了。
但还是有个问题, index.html 引入的 文件名并未同步修改,是否有什么设置可以保持两者同步呢? |
找到之前的讨论了,看来还是个蛮常见的问题。 |
确实应该默认设为 hash。 |
打包完设置hash后 index。html引入的文件名如何同步呢 |
This was referenced Nov 17, 2017
Closed
Thx to @happier2 , we have hash entry now! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
碰到一个问题,
打包后 引用的 index.js , js 文件更新后,很容易被中间的代理或者浏览器缓存,导致修改最终不能更新到用户。
是否可以将 index.js 、index.css 改成 index.js.{md5} 这样的命名呢?
The text was updated successfully, but these errors were encountered: