preload scanner

A secondary parser that skims ahead through the HTML while the main parser is blocked and starts downloading scripts, stylesheets, fonts and images early.

In more detail

When a synchronous script stops the main parser, the preload scanner keeps reading the markup on a background thread and requests the resources it finds. It cannot see resources that JavaScript adds later, which is why preload hints exist.

Related terms

Taught in

References