Server-side rendering means the server does the work of building the page. When a browser or crawler requests a URL, it gets back HTML that already contains the headings, text, links and images. With client-side rendering (CSR), it gets a nearly empty HTML shell and a JavaScript bundle, and the content only appears after the browser runs that code.
Both look the same to a visitor on a fast laptop. They are very different to a crawler.
Why it matters for SEO
Google can render JavaScript, but it is an extra step. Its JavaScript SEO basics describe three phases (crawling, rendering, indexing) and say pages wait in a render queue, sometimes for a few seconds and sometimes longer. Google also recommends server-side rendering or pre-rendering because it makes the site faster for users and crawlers, and because not all bots can run JavaScript.
That last point matters more each year. AI assistants send their own crawlers, and a crawler that reads only the raw HTML of a client-rendered page sees an empty shell. If your service descriptions, prices or locations are built by JavaScript, they may simply not exist for those systems.
SSR also tends to help First Contentful Paint, because the browser can draw content as soon as the HTML arrives instead of waiting for scripts.
The rendering options
| Approach | How the HTML is produced | SEO picture |
|---|---|---|
| Client-side rendering (CSR) | In the browser, after JavaScript runs | Content and links depend on rendering; slowest to be seen |
| Server-side rendering (SSR) | On the server, for each request | Full HTML on arrival; needs a capable server |
| Static rendering (static site generation) | On the server, once at build time | Full HTML, very fast; content updates need a rebuild |
| Hydration | SSR or static HTML first, then JavaScript makes it interactive | Best of both when done well; the common modern setup |
| Dynamic rendering | Rendered HTML for bots, CSR for people | Google calls it a workaround, not a long-term solution |
Most modern frameworks support SSR or static output: Next.js, Nuxt, SvelteKit, Astro, Remix and others. WordPress is server-rendered by default, which is one reason it is rarely affected by this problem unless a page builder or app-style plugin loads content with JavaScript.
How to tell which one a page uses
- Open the page, then View page source (not Inspect). If you can read the main text and see
<a href>links in the source, the page is server-rendered or static. - If the source is mostly
<div id="root"></div>and script tags, it is client-rendered. - In Search Console, URL Inspection shows the rendered HTML Google produced. Compare it with the source.
- RankThat’s Site Audit flags sites where most of the homepage text only appears after JavaScript runs.
A worked example
A fictional booking startup, Tidewater Tours, built its site as a single-page React app. Search Console showed the tour pages indexed, but with titles and snippets from the generic shell, and AI assistants described the business from directory listings rather than its own pages. Moving the tour and location pages to server rendering in the same framework, while keeping the booking widget client-side, put the content and internal links in the first response.
Common mistakes
- Rendering content on the server but injecting navigation links with JavaScript, so crawlers find pages and no links between them. Google only follows
<a>elements with anhref. See JavaScript SEO. - Setting titles, canonicals or
noindexwith JavaScript after load. Put them in the server HTML. - Server and client producing different content, which causes errors and confusing signals.
- Adding dynamic rendering as a new project. Google recommends SSR, static rendering or hydration instead.