D

Deferred JS loading

Deferred JS loading is a technique for loading JavaScript files in a non-blocking way using the defer attribute on a <script> tag. A deferred script is downloaded in parallel while the browser parses the HTML, but it is only executed after the HTML document has been fully parsed. This method is critical for preventing JavaScript from being a render-blocking resource, which improves the First Contentful Paint (FCP) by ensuring scripts do not delay the initial rendering of the page.

All terms
Fabian Krumbholz
Fabian Krumbholz
April 8, 20261 min read

Related web performance terms

How fast is your website?