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

只修改一个文件的内容,但两次打包前后对比,所有的hash都变了,导致部署很慢,有什么比较好的解决方法吗? #686

Closed
QAQCup opened this issue Feb 21, 2024 · 3 comments
Assignees
Labels
❌ Invalid This doesn't seem right

Comments

@QAQCup
Copy link

QAQCup commented Feb 21, 2024

这个功能解决了什么问题

二次打包后,所有的js文件hash都变了,如果项目较大,部署项目的时候将修改几千个文件,很慢,并且之前的浏览器缓存都无效了。有什么比较好的解决方案或优化方法吗?

你建议的方案是什么

二次打包后,仅修改的文件hash变化

Copy link

👋 @QAQCup,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

Copy link

♥️ 有劳 @timi137137 @liweijie0812 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @QAQCup

@timi137137
Copy link
Collaborator

这个问题不属于TD模板的问题,对此可以查看
https://www.jianshu.com/p/822af1648831

@timi137137 timi137137 added the ❌ Invalid This doesn't seem right label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❌ Invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants