The Web Rendering Service (WRS) is the component of Google Search that renders pages and executes their JavaScript. It works after crawling and supplies the rendered HTML that Google uses for indexing. Google describes the renderer as a headless Chromium and says that Google Search runs JavaScript with an evergreen version of it.
How does rendering work at Google?
Googlebot first fetches the URL. Pages with a 200 status code are queued for rendering unless a robots meta tag or header forbids indexing, and the wait can last a few seconds or longer. When Google’s resources allow, a headless Chromium renders the page and runs the JavaScript. Google does not render pages or files blocked by robots.txt.
Google’s troubleshooting guide lists behaviors of the WRS to design for:
- It loads each URL like a regular browser and follows server and client redirects, but local storage, session storage and cookies are cleared across page loads.
- It may ignore caching headers and use outdated JavaScript or CSS files. Content fingerprinting in file names, like
main.2bb85551.js, avoids this. - It does not support WebSockets or WebRTC connections, so content needs an HTTP fallback.
- It flattens the light DOM and shadow DOM.
- Googlebot and the WRS may skip resources that do not contribute to essential page content, so client-side analytics may not show their activity accurately.
Example
A shop loads product texts from /api/, and robots.txt blocks that path. The texts are missing from the rendered HTML. The URL Inspection tool in Search Console shows the rendered result and reveals the gap.
More on the searchVIU blog
Sources
- Fix Search-related JavaScript problems – Google Search Centraldevelopers.google.com
- Understand JavaScript SEO basics – Google Search Centraldevelopers.google.com
Last updated: