# 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.

Canonical: https://scaplet.com/glossary/server-side-rendering

Glossary Glossary · Crawling and indexing

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 with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fserver-side-rendering%20(%22Server-side%20rendering%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fserver-side-rendering%20(%22Server-side%20rendering%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fserver-side-rendering%20(%22Server-side%20rendering%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fserver-side-rendering%20(%22Server-side%20rendering%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 3 parts, 3 minutes.

1. [What renders on the server 01](#what-renders-on-the-server)
2. [Why it can help search visibility 02](#why-it-can-help-search-visibility)
3. [Check the HTML users and crawlers receive 03](#check-the-html-users-and-crawlers-receive)

_01_Explained

## 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](/glossary/structured-data), then JavaScript can hydrate it or attach interactive behavior. SSR and [client-side rendering](/glossary/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.

_02_Worth 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](/ai-crawlers/googlebot) queues pages for [rendering](/glossary/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.

_03_How 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](/glossary/static-site-generation) may be simpler. See [client-side rendering](/glossary/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. 01 [Server-side rendering (SSR)](https://developer.mozilla.org/en-US/docs/Glossary/SSR) developer.mozilla.org · checked 2026-10-24
2. 02 [Understand the JavaScript SEO basics](https://developers.google.com/search/docs/crawling-indexing/javascript/javascript-seo-basics) developers.google.com · checked 2026-10-24

Questions

## Asked a lot.

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

_01_ Is 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.

_02_ Does 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.

## Keep learning

[All glossary](/glossary)

[Learn Client-side rendering Crawling and indexing](/glossary/client-side-rendering) [Related Static site generation Fundamentals](/glossary/static-site-generation) [Read next JavaScript SEO Crawling and indexing](/glossary/javascript-seo) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in glossary
[SERP features](/glossary/serp-features) [SERP volatility](/glossary/serp-volatility) [Server-side tagging](/glossary/server-side-tagging) [Service-area business](/glossary/service-area-business)

More in Crawling and indexing
[Log file analysis](/glossary/log-file-analysis) [Meta refresh](/glossary/meta-refresh) [Nofollow](/glossary/nofollow) [noimageindex](/glossary/noimageindex) [Noindex](/glossary/noindex) [Orphan page](/glossary/orphan-page) [Page indexing report](/glossary/page-indexing-report) [Pagination](/glossary/pagination) [Removals tool (Search Console)](/glossary/removals-tool) [Rendered HTML](/glossary/rendered-html) [Rendering](/glossary/rendering) [Robots meta tag](/glossary/robots-meta-tag) [Server-side rendering](/glossary/server-side-rendering) [Sitemaps report](/glossary/sitemaps-report) [SPA SEO](/glossary/spa-seo) [SSL certificate](/glossary/ssl-certificate) [SSR vs CSR](/glossary/ssr-vs-csr) [Subdomain vs subdirectory](/glossary/subdomain-vs-subdirectory) [Trailing slash in URLs](/glossary/trailing-slash) [unavailable_after](/glossary/unavailable-after) [URL fragment](/glossary/url-fragment) [URL Inspection tool](/glossary/url-inspection-tool) [URL parameters](/glossary/url-parameters) [URL structure](/glossary/url-structure)

Terms on this page
[Structured data](/glossary/structured-data) [Client-side rendering](/glossary/client-side-rendering) [Rendering](/glossary/rendering) [Static site generation](/glossary/static-site-generation)

Free · 2 minutes

## Know the term. _Now check your site._

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

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **+212%** organic clicks in 90 days Ledgerly
