Server-side rendering for AI
Also known as: SSR, Pre-rendering
Definition
Server-side rendering (SSR) means the server sends HTML that already contains the page’s content, so crawlers that do not run JavaScript can still read it.
Explanation
Google renders JavaScript in a queue that can take time, and its documentation notes that not all bots can run JavaScript. It calls server-side rendering or pre-rendering “still a great idea” because it makes sites faster for users and crawlers.
Static generation and pre-rendering achieve the same goal: the first HTML response contains headings, text, prices and structured data.
Why it matters for your site
If product names and prices only appear after JavaScript runs, AI crawlers and agents that read raw HTML may see an empty page.
Related guides
- Render content without JavaScript for AI crawlersIf your product names, prices and copy only appear after JavaScript runs, many crawlers see an empty page. Render main content in the HTML your server sends.
- Make your homepage indexable: status 200 and no noindexA homepage that returns an error or carries noindex in meta robots or X-Robots-Tag stays out of Google and AI answers. Return 200 and remove the noindex.