Technical SEO
Main thread
The main thread is where a browser parses markup, runs most JavaScript, computes styles and layout, and paints.

What is main thread?
The main thread is where a browser parses markup, runs most JavaScript, computes styles and layout, and paints. Work queued on it blocks everything else, including responses to user input.
Why it matters
Nearly every responsiveness problem is main-thread contention, which is why the fix is scheduling rather than optimisation of individual functions.
In practice
Kept clear by deferring non-critical work, chunking long tasks, using web workers for computation and avoiding layout thrashing during interaction.
The misconception
A fast server and a fast network do not help a blocked main thread. The page has arrived; it is simply busy.
The term is used loosely in the industry, so it is worth pinning down before agreeing to work.
Where this comes up in the work
It is part of Agentic Commerce, and more specifically of Agent traffic attribution. Across the rest of the work it shows up in:
- Conversion Rate Optimization, where it quietly limits how far making the price easy to find because hiding it costs more than showing it can go
- Website Design and Development, where it sets the ceiling on deciding what happens to the design when a headline runs to four lines
- AI Automation and Workflows, because putting the prompts in version control depends on it
- AI Platform Optimization, in which it shows up as rewriting passages so an answer survives being lifted out of the page
What to check
Two questions that establish whether this is actually in order on a given site:
- Whether the staging behaviour matches production behaviour
- Whether the person who would notice a regression is looking at the right report
Common questions
How much work is main thread?
Less than people expect to check and sometimes more than they expect to fix. Kept clear by deferring non-critical work, chunking long tasks, using web workers for computation and avoiding layout thrashing during interaction.
Where does main thread sit in the priority order?
Before anything that depends on it, which is the test rather than a general ranking. Nearly every responsiveness problem is main-thread contention, which is why the fix is scheduling rather than optimisation of individual functions.
What is the evidence for main thread mattering?
The symptom is usually downstream: nearly every responsiveness problem is main-thread contention, which is why the fix is scheduling rather than optimisation of individual functions, showing up as something else entirely in the reporting.
Is main thread the same as anything else?
A fast server and a fast network do not help a blocked main thread. The page has arrived; it is simply busy. Worth clarifying before agreeing to work on it. Most of the hard parts here are covered in AI Platform Optimization in Chennai, with the exceptions in Analytics and Measurement in Chennai.
Is main thread a ranking factor?
Not on its own, and claims that it does are usually overselling. Nearly every responsiveness problem is main-thread contention, which is why the fix is scheduling rather than optimisation of individual functions. Video and short-form advertising is where the measurement is defined, Core Web Vitals remediation where it gets disputed.
How is main thread audited?
Kept clear by deferring non-critical work, chunking long tasks, using web workers for computation and avoiding layout thrashing during interaction. For the decision, Ajmer. For the implementation, Austin.
Find out what is actually holding this back
Give us the context and we will give you the order of work, including the parts you can do yourself.
