Free auditStart free
GlossaryGlossary · Crawling and indexing

Server-side rendering

Server-side rendering generates HTML on the server. Learn how it differs from static generation and client rendering, and when it helps search.

3 min
read
2
sources
Oct 24, 2026
updated
Scaplet Editorial Team
author
In one line

Server-side rendering (SSR) generates a page's HTML on the server and sends it to the browser. The HTML can contain the page content before client JavaScript runs, while JavaScript can add interactivity afterward. Google says server-side or pre-rendering is still a great idea because it makes a site faster for users and crawlers, and not all bots can run JavaScript.

30-second check

Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01Explained

What renders on the server

With SSR, a server creates HTML for a request and returns it to the client. The browser can display that markup, then JavaScript can hydrate it or attach interactive behavior. SSR and client-side rendering can coexist in one application; a page can also send some content from the server and load user-specific pieces in the browser.

Static generation is related but happens at build time rather than producing HTML for each request. MDN says the SSR versus client-side distinction matters most for sites with dynamic content, such as live-updating or user-specific content, where the server generates the HTML on the fly for every request.

02Worth knowing

Why it can help search visibility

A server response containing the main text, links, title, and canonical gives crawlers a complete document in the initial fetch. Google can render JavaScript too, but Googlebot queues pages for rendering after crawling, and Google notes that not all bots can run JavaScript. MDN adds that major search engines can execute JavaScript, so pure client-side sites can still be indexed, while social media crawlers usually cannot. Treat SSR as a reliability choice for public content.

Render public, linkable content in the response

Product details, docs, and landing-page copy should not depend on a delayed API call if the page must be understood immediately.

Keep error status codes real

Google recommends a meaningful HTTP status code, such as 404 for a page that could not be found, instead of a successful page shell that later displays an error. Google notes that rendering might be skipped for non-200 pages.

Keep canonical output stable

Put the preferred URL in the original HTML and do not replace it with a different canonical after JavaScript runs.

Hydrate for interactions

Add browser-side behavior where it improves the task, while preserving the useful document if JavaScript fails.

03How it works

Check the HTML users and crawlers receive

  1. 1

    Fetch the route

    Run curl -sS -D - https://example.com/page -o /tmp/page.html and check the status, title, canonical, robots directives, main text, and links before scripts run.

  2. 2

    Compare the browser result

    Disable JavaScript or use View Source. The initial response should still contain the page's important text and crawlable links if you chose SSR.

  3. 3

    Inspect Google rendering

    Use Search Console URL Inspection's live test to compare the rendered page with the initial HTML. Look for blocked resources, missing content, wrong canonicals, or error states.

  4. 4

    Check performance and freshness

    Measure response time and confirm the server returns current data. SSR that blocks on several slow services can make the page worse for users.

Use SSR when it simplifies reliable delivery of public content. For content that can be built before requests arrive, static site generation may be simpler. See client-side rendering for the browser-generated model.

Sources · 2

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • mozilla.org
  • google.com
  1. 01Server-side rendering (SSR)developer.mozilla.org · checked 2026-10-24
  2. 02Understand the JavaScript SEO basicsdevelopers.google.com · checked 2026-10-24
Questions

Asked a lot.

2 questions people ask next, answered from the sources on this page.

01Is SSR the same as static site generation?

No. SSR usually generates HTML in response to a request; static generation creates HTML at build time. Both can send content in the initial HTML response.

02Does Google require SSR?

No. Google can render JavaScript. It calls server-side or pre-rendering "still a great idea" because it makes a site faster for users and crawlers, and not all bots can run JavaScript. Test your own rendered pages.

Free · 2 minutes

Know the term. Now check your site.

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • +212% organic clicks in 90 days Ledgerly