-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
1. code splitting
Code splitting is required for faster initial loading of resources and selective cache busting.
Also, it would be good to separate theme libraries dependency from application code.
2. caching / busting
To prevent round trip caused by cache expiration checking, one should make files be cached for a long time(~1yr?) and burst the cache by changing actual file names.
- https://webpack.github.io/docs/long-term-caching.html
(https://medium.com/@okonetchnikov/long-term-caching-of-static-assets-with-webpack-1ecb139adb95)
3. merging
Having too many small chunks is bad for performance.