JavaScript Site Rendering: Crawl Pipeline, Render Queue, and Troubleshooting
How Googlebot and WRS crawl, render, and index JavaScript apps, plus crawl budget, timing, dynamic rendering, and fixes.
This page summarises Google Search documentation on how Googlebot and the Web Rendering Service (WRS) handle JavaScript-powered sites, together with independent measurement from Vercel and MERJ and Onely. The practical goal is the same question developers ask in plain terms: whether Google can see client-side content, how long that takes, and what breaks indexing when it does not.
How Google Search processes JavaScript: crawl, render, index
Section titled “How Google Search processes JavaScript: crawl, render, index”Google describes JavaScript web apps as moving through three phases:
Google processes JavaScript web apps in three main phases:
Crawling
Rendering
Indexing
— Google, Understand the JavaScript SEO basics
After an HTTP fetch, processing extracts links from the initial HTML and queues the URL for rendering. A headless Chromium instance runs the page; processing then uses the rendered HTML for indexing and for a second pass of link discovery.
Googlebot takes a URL from the crawl queue, crawls it, then passes it into the processing stage. The processing stage extracts links that go back on the crawl queue and queues the page for rendering. The page goes from the render queue to the renderer which passes the rendered HTML back to processing which indexes the content and extracts links to put them into the crawl queue.
— Google, Understand the JavaScript SEO basics
Compared to a normal browser, each step can take longer because of scheduling and load on Google’s side and on your origin—this is where render queue timing and crawl budget enter the picture.
Googlebot vs WRS: what each step downloads
Section titled “Googlebot vs WRS: what each step downloads”For a typical page, Google parallels the browser pipeline described in Crawling December: page resources:
- Googlebot downloads the parent URL (HTML).
- Data goes to WRS.
- WRS fetches resources referenced in that HTML (JavaScript, CSS, and similar).
- WRS builds the page as a browser would.
Once the crawler has successfully retrieved the bytes (up to the limit), it passes the baton to the WRS. The WRS processes JavaScript and executes client-side code similar to a modern browser to understand the final visual and textual state of the page. Rendering pulls in and executes JavaScript and CSS files, and processes XHR requests to better understand the page’s textual content and structure (it doesn’t request images or videos).
— Google, Inside Googlebot: demystifying crawling, fetching, and the bytes we process
WRS is stateless: it only runs code the crawler actually retrieved, and it does not keep state across navigations.
Furthermore, the WRS operates statelessly — it clears local storage and session data between requests. This may have particular implications for how dynamic, JavaScript-dependent elements are interpreted by our systems.
— Google, Inside Googlebot: demystifying crawling, fetching, and the bytes we process
Evergreen Chromium: can Googlebot run modern JavaScript?
Section titled “Evergreen Chromium: can Googlebot run modern JavaScript?”Since 2019, Googlebot rendering uses current Chromium, kept roughly in step with stable Chrome releases—not the old Chrome 41 era.
Googlebot is now running a modern Chromium rendering engine.
Googlebot now uses the latest stable Chromium to run JavaScript and render pages. We will continue to update Googlebot along with the stable Chromium, hence we call it “evergreen”.
— Google, Googlebot evergreen rendering in our testing tools
Search Console’s URL Inspection tool, the Rich Results Test, the mobile-friendly test, and related tools use the same renderer so previews match Googlebot more closely.
Capability is usually not the bottleneck; queue time, blocked resources, and app patterns (permissions, storage, errors) are.
Render queue timing: seconds, hours, and chained discovery
Section titled “Render queue timing: seconds, hours, and chained discovery”Official wording sets expectations in broad terms:
The page may stay on this queue for a few seconds, but it can take longer than that.
— Google, Understand the JavaScript SEO basics
Independent instrumentation on nextjs.org (April 2024, 37,000+ matched crawl-to-render pairs) reported median render delay around 10 seconds, with long tails reaching many hours at high percentiles. That aligns with the idea of a real queue, but contradicts the assumption that every JavaScript page waits days by default.
A contrasting lab-style crawl-depth test (Onely, 2022) found roughly 9× longer time to reach deep pages when each step’s links existed only after JavaScript ran, versus the same structure in static HTML—313 hours vs 36 hours for seven chained pages on a test subdomain.
Common conclusion: Google generally can render JavaScript-heavy pages, but discovery and crawl of URLs that appear only after rendering depends on render completing first, then re-parsing links. Deep site structures that rely on client-rendered navigation can lag plain HTML even when median delay is short. Sitemaps and server-rendered critical links reduce that gap.
| Signal | Typical implication |
|---|---|
| Links only in rendered DOM | Found after render; chained paths wait on queue + crawl again |
Links in initial HTML (<a href="...">) |
Discoverable on first fetch |
| URLs with query strings (e.g. tracking) | Longer render delays observed at high percentiles in Vercel/MERJ data |
Updated sitemap.xml |
Narrows discovery differences between rendering patterns |
Crawl budget: JavaScript, CSS, and robots.txt on resources
Section titled “Crawl budget: JavaScript, CSS, and robots.txt on resources”Rendering-related fetches consume crawl budget on the host that serves each resource.
Crawling the resources needed to render a page will chip away from the crawl budget of the hostname that’s hosting the resource.
— Google, Crawling December: page resources
WRS caches many JavaScript and CSS assets for up to 30 days with its own rules—not necessarily your Cache-Control headers—which can protect budget but also means content fingerprinting (hashed filenames) matters when you deploy new bundles (Fix Search-related JavaScript problems).
Google’s recommendations from the same post:
- Use as few render-critical resources as practical.
- Avoid gratuitous cache-busting query parameters on unchanged files.
- Treat blocking render-critical assets in
robots.txtas high risk:
If WRS cannot fetch a rendering-critical resource, Google Search may have trouble extracting content of the page and allowing the page to rank in Search.
— Google, Crawling December: page resources
Hosting static media on another hostname can shift budget, but Google later warned that moving critical JS/CSS to another hostname can hurt performance; non-critical large assets remain a possible trade-off on the same post.
HTTP status, noindex, and signals that must be in first HTML
Section titled “HTTP status, noindex, and signals that must be in first HTML”Rendering is tied to HTTP success and early meta directives.
Googlebot queues all pages with a 200 HTTP status code for rendering, unless a robots meta tag or header tells Google not to index the page.
— Google, Understand the JavaScript SEO basics
If the HTTP status code is non-200 (for example, on error pages with 404 status code), rendering might be skipped.
— Google, Understand the JavaScript SEO basics
Documentation updates stress that noindex in the original response is authoritative: client-side removal may not run if Google skips or aborts rendering.
Vercel/MERJ testing reported pages with noindex in initial HTML were not rendered, regardless of JavaScript complexity (How Google handles JavaScript throughout the indexing process).
For SPAs, soft 404s (HTTP 200 with an error view) remain a frequent mistake; Fix Search-related JavaScript problems recommends real 404 responses or adding noindex when content does not exist—not leaving a success status with empty UI.
Rendering strategies: SSR, hydration, CSR, and dynamic rendering
Section titled “Rendering strategies: SSR, hydration, CSR, and dynamic rendering”Google still favours sending meaningful HTML early:
Keep in mind that server-side or pre-rendering is still a great idea because it makes your website faster for users and crawlers, and not all bots can run JavaScript.
— Google, Understand the JavaScript SEO basics
Dynamic rendering (bot-specific prerendered HTML while users get the full client app) is explicitly a legacy workaround:
Dynamic rendering was a workaround and not a long-term solution for problems with JavaScript-generated content in search engines. Instead, we recommend that you use server-side rendering, static rendering, or hydration as a solution.
— Google, Dynamic rendering as a workaround
It can be acceptable when content is similar for users and crawlers; serving materially different topics is cloaking:
Using dynamic rendering to serve completely different content to users and crawlers can be considered cloaking.
— Google, Dynamic rendering as a workaround
Other crawlers (including many AI crawlers described in Onely’s analysis citing Vercel/MERJ) often do not execute JavaScript; Cloudflare AI Search even offers a rendered sites crawl mode for that reason. Relying on CSR alone is fragile outside Google.
Common JavaScript SEO mistakes and fixes
Section titled “Common JavaScript SEO mistakes and fixes”The Fix Search-related JavaScript problems checklist is the main troubleshooting source. High-impact patterns:
| Problem | What Google expects |
|---|---|
| Permission-gated content (camera, geolocation) | Fallback when permission is denied; Googlebot declines prompts |
#/ fragment routing |
Use the History API; AJAX crawling scheme deprecated since 2015 |
Content in localStorage / cookies across loads |
Do not rely on persistence; WRS clears storage between loads |
| WebSockets / WebRTC only | Provide HTTP fallback for essential content |
Web Components without <slot> |
Content may not appear in flattened rendered HTML |
| JS paywall hiding full text in HTML | Full article should not ship to unsubscribed clients in HTML |
| Analytics-only requests | May be skipped; use Search Console crawl stats, not only client analytics |
Googlebot and its Web Rendering Service (WRS) component continuously analyze and identify resources that don’t contribute to essential page content and may not fetch such resources.
— Google, Fix Search-related JavaScript problems
For structured data injected only via JavaScript, Google notes merchant/product markup can make shopping crawls less reliable for fast-changing price or stock (Generate structured data with JavaScript).
Verify rendered output
Section titled “Verify rendered output”Use Rich Results Test or Search Console URL Inspection to inspect loaded resources, console errors, and rendered DOM. If shadow DOM content is missing, inspect web components guidance and fix composition with slots.
How to check this on your site
Section titled “How to check this on your site”-
Open Google Search Console URL Inspection (or Rich Results Test) for a representative JavaScript URL and confirm the rendered HTML contains the text and links you care about.
-
In the same tool, review blocked resources and JavaScript errors; cross-check that render-critical
.jsand.cssURLs are allowed inrobots.txtper Crawling December: page resources. -
Confirm
200vs error status behaviour: error URLs should return proper4xx/5xx, and indexing directives (noindex, canonical) should appear in the first HTML response, not only after client-side logic (Search documentation updates). -
Monitor Googlebot and WRS activity with the crawl stats report in Search Console rather than inferring crawl from client-side analytics alone (Fix Search-related JavaScript problems).
-
You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact statement you are asking about so it can be corrected or explained.