如何配置 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 发布文章使用:只允许注册用户才可以访问!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/13692188.html
未经授权禁止转载,违者必究!