SSR, SSG or CSR: how to choose for SEO
A practical way to pick a rendering approach by how often content changes, how personalized it is and how much the page matters for search.

In short: choose per page type, not per site. Put pages that must be found in search, such as products, categories, articles and service pages, in the HTML with static generation or server-side rendering. Keep client-side rendering for private, interactive parts. This article is part of the JavaScript SEO guide.
The four questions that decide it
- Does this page need to rank? If a public page must be found in search, its content should be in the HTML, not depend on a script to appear.
- How often does its content change? Rarely: build it ahead. Often: render per request or refresh in the background.
- Is it personalized or private? Account pages, carts and dashboards do not need to be indexed and can be client-rendered.
- How many pages are there? Thousands of pages make full rebuilds slow, which favors on-demand or incremental approaches.
The modes side by side
| Mode | Content is in the first HTML | Freshness | Server load | SEO risk | Typical fit |
|---|---|---|---|---|---|
| Static generation (SSG) | Yes | At build time | Very low | Low | Marketing pages, articles, docs |
| Incremental or on-demand regeneration | Yes | Refreshed on a schedule or on a trigger | Low | Low to medium (stale pages) | Large catalogues |
| Server-side rendering (SSR) | Yes | Every request | Higher | Low, if fast | Pricing, stock, personalized public pages |
| Client-side rendering (CSR) | No, an empty shell | Live | Low | Higher | Logged-in apps, tools, dashboards |
| Hybrid per route | Depends | Depends | Balanced | Low when planned | Most real sites |
The glossary defines both approaches: server-side rendering and static site generation. The web.dev article Rendering on the web lays out the trade-offs, including performance.
Decision guide by page type
| Page type | Recommended | Why |
|---|---|---|
| Home, services, about | Static | Stable, must rank, must be fast |
| Blog and guides | Static | Content in HTML, cheap to serve |
| Product pages in a small shop | Static or incremental | Content in HTML, controlled freshness |
| Product pages in a large shop | Incremental or SSR with caching | Too many pages to rebuild at once |
| Category and search results | SSR with caching | Many combinations, freshness matters |
| Pricing and availability | SSR, or static with a fast data refresh | Accuracy matters |
| Cart, checkout, account | Client-rendered | Private, not for search |
| Interactive tools | Client-rendered shell around static content | Describe the tool in HTML so the page can rank |
What each choice costs
Static generation. Fast and robust. The cost is build time and having to rebuild when content changes. Large sites often pair it with regeneration.
Server-side rendering. Content is current and in the HTML. The cost is server work on every request, so response time and caching matter. A slow server hurts crawling and users alike.
Client-side rendering. Simple to build and good for apps. The cost for SEO is dependence on rendering, a slower first paint and more places for content to go missing. Google still documents JavaScript SEO as workable, but it recommends server-side rendering for good reason.
Dynamic rendering. Serving a prerendered version to bots is described by Google as a workaround and not a long-term solution, with extra complexity. Prefer one of the approaches above. Google describes dynamic rendering as a workaround in its own documentation.
How frameworks map to this
- Next.js lets you mix static, dynamic and incremental rendering per route, and separates server and client components. The Next.js docs explain Server and Client Components and Incremental Static Regeneration.
- Nuxt offers universal rendering, static generation and client-only rendering, configurable per route. The Nuxt docs describe the rendering modes.
- Astro and similar static-first tools produce HTML by default and add JavaScript only where needed.
The tool matters less than the outcome: the content, links and tags for indexable pages are in the HTML the server sends.
Moving from client-side to something safer
You rarely need a rewrite. A staged path works:
- List the templates that must rank and test what a crawler sees. How to check what Google really sees explains how to run that test.
- Move those templates first, to build time or the server.
- Leave private areas client-rendered.
- Retest after each release and compare crawls.
The mistakes I see most
- Choosing one mode for the whole site.
- Client-rendering product and category pages that must rank.
- Server-rendering without caching, then blaming SEO for a slow site.
- Static pages that are never rebuilt when content changes.
- A dynamic-rendering setup that drifts away from what users see.
I help sites with this through JavaScript rendering SEO service; contact me and tell me where things stand.
FAQ
Which rendering mode is best for SEO?
There is no single best one. Static generation and server-side rendering put content in the HTML, which is the safest for indexing. Client-side rendering can work, but it depends on rendering and is a risk for pages that must be indexed.
Can one site use several modes?
Yes, and most large sites do. Frameworks let you choose per route: static for stable pages, server-rendered for dynamic ones and client-rendered for private areas.
Is incremental static regeneration good for SEO?
It can be. It serves static HTML for speed and refreshes it in the background. The risks are stale content and caching rules, so decide how fresh each page type must be.
Sources
- Rendering on the web · web.dev
- Understand JavaScript SEO basics · Google Search Central
- Dynamic rendering as a workaround · Google Search Central
- Rendering modes (Nuxt) · Nuxt documentation
- Server and Client Components (Next.js) · Next.js documentation
- Incremental Static Regeneration (Next.js) · Next.js documentation
Keep reading
- Structured data with JavaScript and Tag ManagerWhen it is safe to generate JSON-LD in the browser or with Google Tag Manager, the risks for products, and how to test and keep it in sync with the page.
- Next.js and Nuxt SEO checklistA framework-level checklist for metadata, rendering modes, status codes, redirects, sitemaps and international routing in Next.js and Nuxt.
- Hydration and lazy loading pitfallsHow hydration and lazy loading hide content, delay interaction and shift layouts, and the Google guidance for doing both safely.
Related glossary terms
Want this applied to your site?
Tell me about your site and I’ll suggest the next step.
Work with me Services