flâneur

AddyOsmani.com - JavaScript Loading Priorities in Chrome

addyosmani.com · 566 words · saved by 2 readers

How browsers schedule and execute scripts can impact the performance of web pages. While techniques like <script defer>, <link rel=preload> (and ...

February 18, 2019 How browsers schedule and execute scripts can impact the performance of web pages. While techniques like <script defer>, <link rel=preload> (and others) influence script loading, knowing how browsers interpret them can also be helpful. Thanks to Kouhei Ueno, we now have an up to date summary of script scheduling in Chrome. Loading priority (network/Blink) Execution priority Where should this be used? <script> in <head> Medium/High VeryHigh - Blocks parser Scripts that affect layout of First Meaningful Paint (FMP) / First Contentful Paint (FCP) content Scripts…

saved by

related reading