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

早报@2019-02-10 #53

Open
whatwewant opened this issue Feb 9, 2019 · 0 comments
Open

早报@2019-02-10 #53

whatwewant opened this issue Feb 9, 2019 · 0 comments
Labels

Comments

@whatwewant
Copy link
Owner

Webpack 的 Bundle Split 和 Code Split 区别和应用 - 前端和Node学习笔记 - SegmentFault 思否

  • Bundle Splitting: 实际上就是创建多个更小的文件,并行加载,以获得更好的缓存效果;主要的作用就是使浏览器并行下载,提高下载速度;并且运用浏览器缓存,只有代码被修改,文件名中的哈希值改变了才回去再次加载;
  • Code Splitting: 只加载用户最需要的部分,其余代码都遵从懒加载的策略;主要的作用就是加快页面加载速度,不加载不必要加载的东西;
  • tags: Webpack,Bundle Split,Code Split,代码分离
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant