critical rendering path

The sequence of steps from receiving HTML, CSS and JavaScript to drawing the first pixels: build the DOM and CSSOM, the render tree, layout and paint.

In more detail

Anything that delays one of those steps, such as a slow stylesheet or a parser-blocking script, delays the first render. Optimising the path means loading fewer critical resources, making them smaller and fetching them earlier.

Related terms

Taught in

References