Skip to content

Conversation

@williamjallen
Copy link
Collaborator

#2864 introduced Webpack bundle splitting. While the chunk names are based on a rolling integer number in production, they are deterministically computed based on the filename in development. Browser caching causes this to be annoying in development. This PR changes the naming scheme to instead depend on the content hash, eliminating the issue.

@williamjallen williamjallen force-pushed the webpack-chunk-caching branch from 0e6be30 to a266c83 Compare June 3, 2025 21:43
Copy link
Member

@josephsnyder josephsnyder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@josephsnyder josephsnyder added this pull request to the merge queue Jun 4, 2025
Merged via the queue into Kitware:master with commit 7ee6aaa Jun 4, 2025
7 checks passed
@williamjallen williamjallen deleted the webpack-chunk-caching branch June 4, 2025 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants