Skip to content
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

md5的后缀名是否可以自己配置 #644

Open
ghost opened this issue Aug 18, 2015 · 2 comments
Open

md5的后缀名是否可以自己配置 #644

ghost opened this issue Aug 18, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 18, 2015

静态文件编译后加md5的后缀后:
a_{md5string}.js
是否可以添加配置文件修改为:
a_{version}.js

比如: core_f440247.js 通过fis的配置改为: core_1-4-5.js

@ghost
Copy link
Author

ghost commented Aug 19, 2015

求解答

@zhangtao07
Copy link
Member

md5戳是比版本号更优的缓存控制解决方案,使用版本号更新时部分文件没有变动也导致缓存浪费了,如果实在想要版本方案可以参考这个issue: #73 ,想改文件名称后缀的话得开发自定义插件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant