Web & Digital

SSR vs SSG vs ISR vs CSR: How Rendering Strategy Affects SEO

Compare SSR, SSG, ISR, and CSR rendering strategies and how each one affects your SEO rankings and Core Web Vitals.

vaza.ai8 min read
Diagram comparing four web rendering strategies SSR SSG ISR and CSR with performance metrics

Quick Answer

SSG (Static Site Generation) is the best rendering strategy for SEO because it delivers pre-built HTML instantly from a CDN. SSR is a strong second choice for dynamic content. CSR (Client-Side Rendering) is the worst because crawlers, especially AI search engines, cannot execute JavaScript to see your content.

Your rendering strategy determines whether search engines see a fully loaded page or an empty HTML shell. This single technical decision affects your Core Web Vitals, crawl efficiency, and visibility in both traditional and AI search results.


The Four Rendering Strategies Explained

Every web page reaches the browser through one of four rendering paths. Each one determines when and where your HTML gets generated, and that directly affects what search engines see.

SSG: Static Site Generation

HTML is generated once at build time. When a user or crawler requests the page, the server returns pre-built HTML from a CDN cache. No server processing happens at request time.

This is the fastest rendering strategy. Pages load in milliseconds because there is nothing to compute. Every crawler, from Googlebot to GPTBot, receives complete HTML on the first request. Frameworks that support SSG include Next.js, Nuxt, Astro, SvelteKit, and Gatsby.

SSG works best for content that changes only when you deploy: blog posts, marketing pages, documentation, and landing pages. If your website fits this description, SSG should be your default. For businesses building modern websites, static generation is the foundation of a fast, crawlable site.

20-50ms
Typical TTFB for SSG pages served from a CDN edge location

SSR: Server-Side Rendering

HTML is generated on every request. The server runs your application code, fetches data, and returns fully rendered HTML to the browser. This happens before the user sees anything.

SSR is slower than SSG because the server does work on each request, typically resulting in 200 to 800ms TTFB depending on your server location and data sources. But it still delivers full HTML to crawlers, which is what matters for SEO.

Use SSR for pages where content changes on every request: user dashboards, search results, personalized recommendations, or pages pulling from real-time databases. Next.js, Nuxt, SvelteKit, Remix, and Astro all support SSR.

Not sure which rendering strategy your site uses today? Book your free session and get 3 months free and we will show you exactly what crawlers see.

ISR: Incremental Static Regeneration

ISR is a hybrid approach introduced by Next.js. Pages are statically generated at build time, but they can be regenerated in the background after a configurable time interval. The concept follows a stale-while-revalidate pattern: visitors get the cached static page instantly while the server rebuilds a fresh version for the next visitor.

This solves a key limitation of pure SSG. If you have thousands of pages and your data changes daily, rebuilding the entire site every time is impractical. ISR lets you update individual pages without a full rebuild.

Nuxt offers similar behavior through its route rules configuration. Astro and SvelteKit do not have native ISR but can achieve comparable results through on-demand revalidation patterns.

From a search engine perspective, ISR pages behave identically to SSG pages. Crawlers receive static HTML on every request.

CSR: Client-Side Rendering

HTML is generated in the browser. The server sends a minimal HTML shell (often just a <div id="root"></div>) and a JavaScript bundle. The browser downloads the JavaScript, executes it, fetches data from APIs, and then builds the page content.

This is the worst rendering strategy for SEO. Google’s Web Rendering Service can execute JavaScript, but it does so in a second phase after the initial crawl, creating an indexing delay. Bing’s JavaScript rendering is unreliable. And AI crawlers (GPTBot, ClaudeBot, PerplexityBot) do not render JavaScript at all.

If your site uses CSR, you are invisible to the fastest-growing category of web crawlers. Read our deep dive on why client-side rendering destroys your search rankings.

If your site was built with a tool like Lovable or runs as a plain React SPA, we can run a free check and show you what search engines actually see.


How Crawlers Handle Each Strategy

StrategyGoogleBingAI CrawlersSocial MediaTTFB
SSGFull HTML instantlyFull HTML instantlyFull HTML instantlyFull HTML instantly20-50ms
SSRFull HTML instantlyFull HTML instantlyFull HTML instantlyFull HTML instantly200-800ms
ISRFull HTML (cached)Full HTML (cached)Full HTML (cached)Full HTML (cached)20-50ms
CSRDelayed (render queue)UnreliableInvisibleBroken previewsVaries

Which Strategy Should You Use?

The right choice depends on how your content changes.

Content sites (blogs, marketing, docs): Use SSG. Your content changes only at deploy time, so pre-building HTML gives you the fastest possible pages with zero server cost. This is what we use at vaza.ai with Next.js static export on Cloudflare Pages.

Large content sites with frequent updates: Use ISR. If you have thousands of programmatically generated pages that update regularly, ISR gives you static performance with background freshness.

Dynamic applications: Use SSR for pages that must reflect real-time data. Combine SSR with edge rendering to reduce TTFB by generating HTML closer to users.

Never use CSR as your primary strategy if search visibility matters to your business. If you currently run a React SPA, the fastest fix is migrating to Next.js or Remix, which add SSR while keeping your existing React components.

Your content format also matters. Whether you use MDX or Markdown, both compile to static HTML at build time and work well with SSG. The language you write in (TypeScript or JavaScript) has no effect on the rendered output.


Summary

  • SSG is the best rendering strategy for SEO: pre-built HTML, fastest TTFB, fully crawlable by every bot
  • SSR is the best choice for dynamic content that needs search visibility
  • ISR gives you static performance with background content updates (Next.js native, Nuxt via route rules)
  • CSR is the worst for SEO: delayed Google indexing, unreliable Bing rendering, invisible to AI crawlers
  • All major frameworks (Next.js, Nuxt, Astro, SvelteKit) support SSG and SSR
  • Google recommends server-side or pre-rendered HTML over client-side rendering
  • AI crawlers do not execute JavaScript, making CSR content invisible to ChatGPT, Perplexity, and Claude

References

Frequently Asked Questions

What is the best rendering strategy for SEO?

Static Site Generation (SSG) is the best rendering strategy for SEO. Pages are pre-built as HTML at deploy time, load instantly from a CDN, and are fully readable by every crawler including AI bots. SSR is a strong second choice for pages with frequently changing content.

What is the difference between SSR and SSG?

SSR generates HTML on every request at the server. SSG generates HTML once at build time. Both deliver full HTML to crawlers, but SSG is faster because pages are served from a CDN cache. SSR is better when content changes on every request, like user dashboards or real-time data.

What is ISR and which frameworks support it?

Incremental Static Regeneration (ISR) is a hybrid strategy that serves static pages but regenerates them in the background after a set time interval. Next.js introduced ISR natively. Nuxt offers similar behavior through route rules. Astro and SvelteKit do not have built-in ISR.

Can Google crawl client-side rendered pages?

Google can render JavaScript using its Web Rendering Service (WRS), which runs an evergreen version of Chromium. However, rendering happens in a second phase after the initial crawl, which can delay indexing. Google itself recommends server-side rendering or pre-rendering for better results.

Do AI search engines render JavaScript?

No. GPTBot (OpenAI), ClaudeBot (Anthropic), and PerplexityBot do not execute JavaScript. Vercel's analysis of over 900 million monthly AI crawler requests found zero evidence of JavaScript rendering. Client-side rendered content is completely invisible to AI search engines.

How does rendering strategy affect Core Web Vitals?

SSG and SSR deliver full HTML immediately, resulting in faster LCP (Largest Contentful Paint) and lower CLS (Cumulative Layout Shift). CSR requires the browser to download, parse, and execute JavaScript before showing content, which hurts LCP and often causes layout shifts as content loads in stages.

Should I use SSR or SSG for my website?

Use SSG if your content changes only when you deploy (blogs, marketing pages, documentation). Use SSR if your content changes on every request (dashboards, personalized pages, real-time data). Many frameworks support both, so you can mix strategies per page.

What is the SEO difference between ISR and full SSG?

Both serve static HTML to crawlers, so the SEO output is identical at any given moment. The difference is freshness. SSG requires a full rebuild to update content, while ISR can update individual pages in the background. For large sites with thousands of pages, ISR avoids long rebuild times.

About the author

vaza.ai

vaza.ai

Marketing Team

The vaza.ai team helps small businesses modernize their websites and eliminate the cost, maintenance, and security headaches of legacy platforms.

Want this running on your own site?

See how the AI SEO platform monitors, fixes and publishes on autopilot.

Get a free audit