Skip to content

Loading speed, web and servers

main thread

Definition
The main thread is the browser's processing line that builds a page, runs scripts and responds to clicks and input. When it is busy with long tasks, every input has to wait. Fewer and shorter scripts keep it free and so can improve how responsive a page feels.