-
Notifications
You must be signed in to change notification settings - Fork 42
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
cdn 强缓存下 导致 web_version_by_plugin.json 没能 更新 #67
Comments
很早之前的版本就加了,你现在用的什么版本? |
这个时间戳参数 我是有看到。我们目前cdn情况是请求query参数变化,文件还是会走的缓存。类似于 vue打包后 文件名加上hash 它 文件路径变化了 就会去请求最新的文件。我不知道我描述的准不准确 |
每次打包后动态的版本文件名,那请求的也是指定的文件比对才是,因为版本文件每次都是随最新的打包一起替换。 |
因为项目全部上cdn ,文件名没有改动的话,cdn 上就不会更新 这就导致请求cdn web_version_by_plugin.json 时,文件内容还是旧的 是否可以每次打包给 web_version_by_plugin.json 文件名也加上时间戳 或者版本号
The text was updated successfully, but these errors were encountered: