-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
perf(webpack): prefer using contenthash
#6632
Conversation
The change looks good. Filename was changed from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. (Also verified for style in SCF components with extractCSS).
contenthash
instead of chunkhash
contenthash
instead of chunkhash
contenthash
Types of changes
Description
[contenthash]
is a better way of identifying a file if the contents don't change. See issues: webpack/webpack.js.org#2096 and webpack/webpack#7138.This should mean that assets (like images or fonts) that are unlikely to change between deploys can be cached more efficiently.
Checklist: