Skip to content

Conversation

ShallowAi
Copy link

  1. 添加 preconnect 加快未来从给定源加载的速度。

  2. 调整 rollupOptions 将依赖分离chunk以加快渲染速度,同时更加适合CDN缓存(即常用依赖未变更的情况下其chunk不会发生变化)

测试环境

Chrome 140.0.7339.185
Lighthouse
Yarn 1.22.19

修改前

1

修改后

2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant