xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

如何配置 webpack 支持 preload, prefetch, dns-prefetch

如何配置 webpack 支持 preload, prefetch, dns-prefetch

webpack , preload, prefetch




https://webpack.js.org/plugins/prefetch-plugin/


new webpack.PrefetchPlugin([context], request);


https://webpack.js.org/guides/code-splitting/

prefetch/preload

https://medium.com/webpack/link-rel-prefetch-preload-in-webpack-51a52358f84c

https://medium.com/reloading/preload-prefetch-and-priorities-in-chrome-776165961bbf

https://developer.mozilla.org/en-US/docs/Web/HTML/Preloading_content

https://medium.com/@migcoder/prefetch-preload-take-control-from-webpack-26d1e0f2c3

https://frontendmasters.com/courses/performance-webpack/webpack-prefetch-preload/

refs

prefetch 和 preload 及 webpack

https://chanvinxiao.com/cn/blog/prefetch-and-preload-with-webpack/

https://chanvinxiao.com/en/blog/prefetch-and-preload-with-webpack/

https://www.codebeast.dev/improve-page-load-performance-with-modern-browser-hints-best-practices/

https://wanago.io/2018/08/20/webpack-4-course-part-eight-dynamic-imports-with-prefetch-and-preload/

https://3perf.com/blog/link-rels/

https://github.com/jantimon/html-webpack-plugin/issues/532



©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


posted @ 2020-09-19 10:01  xgqfrms  阅读(855)  评论(2编辑  收藏  举报