Server-side rendering (SSR) means the server builds the full HTML of a page and sends it ready to read, instead of sending a near-empty shell that JavaScript fills in later inside the browser. Search engines, AI crawlers and link previews can then see your words, links and prices in the first response. It is the opposite of client-side rendering, and the two are often mixed.
What is server-side rendering? #
Every web page ends up as HTML in the browser. The question is where that HTML is made. MDN defines SSR as generating the HTML on the server and sending it to the client. With client-side rendering (CSR), the server sends a small file plus scripts, and the browser runs the scripts to build the page. web.dev’s guide to rendering on the web (updated 5 January 2026) uses the same split: SSR sends HTML, CSR uses JavaScript to change the DOM.
A classic CMS page is server-rendered by default. Apps built with React, Vue or Angular often start as CSR and add SSR through a framework setting.
What are the main rendering types? #
| Type | Where the HTML is made | When | Good for |
|---|---|---|---|
| Server-side rendering | Server | On each request | Pages that change often: stock, prices, news |
| Static rendering | Server or build tool | Once, at build time | Pages that rarely change: guides, wiki pages |
| Client-side rendering | Browser | After scripts load | Logged-in tools and dashboards |
| SSR plus hydration | Server first, then browser | HTML first, scripts after | Shops and apps that need both |
web.dev describes hydration as running scripts in the browser to add state and clicks to HTML the server already sent.
Why does it matter for search? #
Google can run JavaScript, but it does it in steps. Its JavaScript SEO basics page splits the work into crawling, rendering and indexing, and says pages with a 200 status are queued for rendering. Until rendering happens, a CSR page may look empty. The same page says server-side or pre-rendering is still a great idea, because it makes a site faster for users and crawlers, and because not every bot can run JavaScript.
SSR also protects the signals Google reads first: the title tag, the meta description, the canonical tag and any noindex rule. Google warns that when it meets a noindex tag it may skip rendering, so a script that later removes the tag may never run. It also says the canonical should be set in the HTML, not changed by script. Read more in JavaScript SEO and rendering.
Why does it matter for AI answers? #
AI assistants fetch pages through their own bots. OpenAI’s crawler page lists OAI-SearchBot for search, GPTBot for training and ChatGPT-User for visits a person asks for. When we checked, it said nothing about running JavaScript. So the safe plan is to put the facts in the first HTML response. MDN adds that major search engines can run scripts, but social media crawlers usually cannot, which is why Open Graph tags need to be server-rendered too.
For AI Overviews and AI Mode, Google’s AI features page tells owners the normal basics still apply, including keeping important content in text form. Text that only appears after a script runs is a weak foundation for answer engine optimisation.
How does it work? #
- A browser or bot asks for a page address.
- The server fetches the data, such as product name, price and stock.
- The server fills a template and returns full HTML with a status code.
- The reader sees text at once. Scripts then load and hydrate the page so buttons work.
MDN notes a speed gain here: the server can fetch all the data at once, while CSR often finds out what it needs only after the first render, which causes a waterfall of requests.
What does it cost? #
SSR is not free. web.dev warns that building pages on the server takes time, which can raise time to first byte. Static rendering gives a fast, steady TTFB because nothing is built on request. Heavy hydration can also hurt Interaction to Next Paint even when the first paint looks quick. Good caching and an edge cache soften the server cost. See Core Web Vitals for the scores involved.
Is dynamic rendering the same thing? #
No. Dynamic rendering sends a pre-rendered copy to bots and the script version to people. Google’s dynamic rendering page calls it a workaround, not a recommended solution, and recommends SSR, static rendering or hydration instead. It also says serving completely different content to users and crawlers can count as cloaking.
Common mistakes #
- Shell only. The first response holds a single empty div and a script tag. Bots that do not run scripts see nothing.
- Mismatch after hydration. The server sends one price and the script swaps in another. People and bots see different facts.
- Soft errors. A missing product returns 200 with “not found” text. That is a soft 404; send a real 404 from the server.
- Links as buttons. Menus built with click handlers instead of real anchor links hide pages from crawlers. See internal linking.
- Slow origin. SSR with no cache makes every visit wait on the database.
A worked example #
A small shop sells a 1.7 litre kettle at £39.99. We compare what a bot receives in the first response.
| Check | Client-side rendering | Server-side rendering |
|---|---|---|
| Words in first HTML | About 40 (menu shell) | About 600 (full page) |
| Price visible | Only after scripts run | Yes, £39.99 |
| Product schema | Injected by script | In the HTML |
| Link preview on social apps | Blank or generic | Title, image and price |
The figures are for illustration. The point is that the SSR column needs no second step for any reader.
How to check it #
- Run the page through our JavaScript SEO Checker to compare raw HTML with what appears after scripts.
- Use the AI Readiness Checker to see what an AI bot can read without running code.
- Check titles and descriptions in the raw response with the Meta Tag Checker, and structured data with the Schema Markup Checker.
- Check status codes and cache headers with the HTTP Header Checker, and speed with the Page Speed Checker.
- In Google Search Console, run URL Inspection and look at the rendered HTML.
- In URSY Pro, the JavaScript rendering check and Pages AI never reads track this across a whole site.
Questions #
Does Google need SSR to index my site? #
Not always. Google can render JavaScript, but it says SSR or pre-rendering still helps users and crawlers, and other bots may not run scripts at all.
Is static rendering better than SSR? #
For pages that rarely change, often yes: it is fast and cheap. For live stock and prices, SSR keeps the facts current.
Will SSR fix a slow site? #
It can speed up the first paint, but it may raise TTFB without a cache. Measure before and after.
Related words #
Sources #
- MDN: SSR (server-side rendering), checked 24 November 2026
- web.dev: Rendering on the web, checked 24 November 2026
- Google Search Central: Understand JavaScript SEO basics, checked 24 November 2026
- Google Search Central: Dynamic rendering as a workaround, checked 24 November 2026
- OpenAI: Overview of OpenAI crawlers, checked 24 November 2026
- Google Search Central: AI features and your website, checked 24 November 2026
Updated 24 November 2026 by URSY.
Cite this page: Server-side rendering (SSR). URSY. Updated 24 November 2026. https://ursy.com/wiki/server-side-rendering/ · Section links
Tools for this
- LiveAI Crawler Log Analyserdrop in your server log, see which AI bots read what (in browser)Run the check →
- LiveDuplicate Content Checker (inside your site)Run the check →
- LiveCompare Two Websitesour checks side by side, winner per row (box on the home page)Run the check →
- ProBot costServer time each bot eatsIn URSY Pro →
- ProJavaScript rendering checkWhat bots that don't run JavaScript missIn URSY Pro →
- ProImage AI sidecars + licenceEach picture with a description file for AI and licence markupIn URSY Pro →