浏览器资源渲染阻塞 英文学名:Render-Blocking Resources,在使用Google 开发者工具Lighthouse的时候,它会帮助开发者生成页面渲染报告,在报告中将阻塞页面渲染的资源分为三类:HTML JS CSS,css
For critical scripts, consider inlining them in your HTML. For non-critical scripts, consider marking them with the async or defer attributes. See Adding Interactivity with JavaScript to learn more.chrome
打开chrome 开发者工具,而后点击右上角的三点Icon, 在More tools
中选择coverage
,能够看出js,css的实际被覆盖率。浏览器