Home / Knowledge Base / Glossary / JavaScript Rendering and Indexing

JavaScript Rendering and Indexing

Glossary 2 min read Updated 28.09.2026
The bot executes scripts in two stages and with a delay. When this breaks indexing, how to check your page and why we look at link attributes in the rendered DOM.

JavaScript Rendering is the process by which a search bot executes the scripts on a page to see content that is not present in the original HTML. Google can do this, but it does so in two stages and not instantly; other bots and parsers do not always have this capability.

How It Happens

  1. The bot downloads the original HTML and immediately indexes what is present in it.
  2. The page enters a queue for rendering.
  3. When it reaches the front of the queue, the scripts are executed and the index is updated.

Between the first and third steps, it can take from hours to weeks. For news and rapidly changing pages, this is critical; for others, it is tolerable.

When Problems Arise

SituationRisk
All content is loaded by a scriptIndexing delay, sometimes loss of part of the text
Links are made not with the a tag, but with a click handlerThe bot does not follow them — pages are not found
Content appears after user actionThe bot will not see it: it does not click
Scripts are blocked in robots.txtRendering is impossible
The script fails on a slow connectionThe page is indexed as empty
Why We Check the Rendered DOM
For this reason, we check link attributes on platforms not in the source code, but after script execution: some services remove or, conversely, add a blocking attribute already in the browser. Checking the original HTML would give an incorrect answer about weight transfer.

How to Check Your Page

The simplest way is to disable JavaScript in the browser and open the page: what remains is what the bot sees immediately and certainly. The second way is to compare the original page code with the rendered tree in the developer tools. If critical text and links are only in the second — there is something to think about.

What to Do

Do not abandon JavaScript, but keep the main elements in the original HTML: text, headings, internal links, and metadata. Everything else can load in any way. For large sites, server-side rendering or pre-generating pages is usually applied.

Other Bots Have Less Capability

The Google bot renders pages, but many others — social media crawlers, link preview gatherers, some AI agents — only read the original HTML. If the title and description appear on the page via a script, the link to your site in a messenger will appear as an empty card.

FAQ

Does Google index JavaScript pages?
Yes, but in two stages: first the original HTML, then, from the queue, the rendered version. The time between stages can range from hours to weeks.
Why does the bot not find some of my pages?
A common reason is that links are made with a click handler instead of an a tag. The bot does not follow such transitions.
How to check what the bot sees?
Disable JavaScript in the browser and open the page: what remains is what the bot sees immediately and certainly.
Was this article helpful?
Try it on your project Everything described in the article is available in the dashboard — the registration bonus is already in your balance.
Open dashboard