Why it matters
Google's renderer fetches scripts, styles and API requests through Googlebot and obeys robots.txt: if it cannot fetch a resource, it cannot run it. Blocking a script folder or a generic /api/ folder leaves blank modules or an empty page, which can be treated as a soft 404 although users see a full page.
How to meet it
Allow all JS, CSS and font paths. If an API folder must stay disallowed, carve out the endpoints rendering needs (Disallow: /api/ plus Allow: /api/products/), since the longer Allow rule wins. Check the robots.txt of every host the page loads data from, and re-test a rendered page after every robots.txt change touching script or API paths.
How to test it
URL Inspection live test, page resources: nothing needed for content is "Blocked by robots.txt". The DevTools Network panel (Fetch/XHR) lists each API host, and each host's robots.txt allows those paths.
How Regensbot covers it
Decided automatically once Regensbot renders your pages.
Headless Chromium renders the page on an isolated render service, and the raw and the rendered HTML run through the same parsers.
Sources
Google documents04
- 01Introduction to robots.txtGoogle Search Central (opens in a new tab)
- 02Understand the JavaScript SEO basicsGoogle Search Central (opens in a new tab)
- 03Crawling December: The how and why of Googlebot crawlingSearch Central blog (3 December 2024) (opens in a new tab)
- 04Inside Googlebot: demystifying crawling, fetching, and the bytes we processSearch Central blog (31 March 2026) (opens in a new tab)
Claims in the knowledge base07
- D2-C204ConfirmedLightning session D: Rendering and JavaScriptShown on screen
- D2-C206SourceLightning session D: Rendering and JavaScriptGoogle's documentation
- D2-C297SourceWhat is Google friendly JavaScriptGoogle's documentation
- D2-C207ConsistentLightning session D: Rendering and JavaScriptShown on screen
- D2-C265ConsistentWhat is Google friendly JavaScriptShown on screen
- D2-C296ConfirmedWhat is Google friendly JavaScriptSaid on stage
- D2-C213ConfirmedLightning session D: Rendering and JavaScriptSaid on stage
Claim IDs refer to the Search Central Live 2026 knowledge base. The knowledge base (opens in a new tab)
- Confirmed
- Google's documentation states the same thing.
- Consistent
- Google's documentation supports it without stating it.
- Source
- The claim is the cited document itself.