{
    "title": "Client-side vs server-side rendering",
    "description": "Client-side rendering builds the page in the browser with JavaScript; server-side rendering sends finished HTML. Here is what each means for SEO and AI.",
    "url": "https://ursy.com/wiki/client-side-vs-server-side-rendering/",
    "canonical": "https://ursy.com/wiki/client-side-vs-server-side-rendering/",
    "markdown": "https://ursy.com/wiki/client-side-vs-server-side-rendering/index.md",
    "json": "https://ursy.com/wiki/client-side-vs-server-side-rendering/index.json",
    "published": "2026-11-24T23:13:52+00:00",
    "updated": "2026-11-24T23:13:52+00:00",
    "language": "en-GB",
    "publisher": {
        "name": "URSY",
        "url": "https://ursy.com/"
    },
    "cite": "Name URSY and link https://ursy.com/wiki/client-side-vs-server-side-rendering/",
    "headings": [
        {
            "level": 2,
            "text": "What is client-side rendering?",
            "id": "what-is-client-side-rendering",
            "url": "https://ursy.com/wiki/client-side-vs-server-side-rendering/#what-is-client-side-rendering"
        },
        {
            "level": 2,
            "text": "What is server-side rendering?",
            "id": "what-is-server-side-rendering",
            "url": "https://ursy.com/wiki/client-side-vs-server-side-rendering/#what-is-server-side-rendering"
        },
        {
            "level": 2,
            "text": "How do they compare?",
            "id": "how-do-they-compare",
            "url": "https://ursy.com/wiki/client-side-vs-server-side-rendering/#how-do-they-compare"
        },
        {
            "level": 2,
            "text": "Why does it matter for search?",
            "id": "why-does-it-matter-for-search",
            "url": "https://ursy.com/wiki/client-side-vs-server-side-rendering/#why-does-it-matter-for-search"
        },
        {
            "level": 2,
            "text": "Why does it matter for AI answers?",
            "id": "why-does-it-matter-for-ai-answers",
            "url": "https://ursy.com/wiki/client-side-vs-server-side-rendering/#why-does-it-matter-for-ai-answers"
        },
        {
            "level": 2,
            "text": "What about dynamic rendering?",
            "id": "what-about-dynamic-rendering",
            "url": "https://ursy.com/wiki/client-side-vs-server-side-rendering/#what-about-dynamic-rendering"
        },
        {
            "level": 2,
            "text": "Common mistakes",
            "id": "common-mistakes",
            "url": "https://ursy.com/wiki/client-side-vs-server-side-rendering/#common-mistakes"
        },
        {
            "level": 2,
            "text": "A worked example",
            "id": "a-worked-example",
            "url": "https://ursy.com/wiki/client-side-vs-server-side-rendering/#a-worked-example"
        },
        {
            "level": 2,
            "text": "How to check it",
            "id": "how-to-check-it",
            "url": "https://ursy.com/wiki/client-side-vs-server-side-rendering/#how-to-check-it"
        },
        {
            "level": 2,
            "text": "Questions",
            "id": "questions",
            "url": "https://ursy.com/wiki/client-side-vs-server-side-rendering/#questions"
        },
        {
            "level": 3,
            "text": "Does Google index client-side rendered pages?",
            "id": "does-google-index-client-side-rendered-pages",
            "url": "https://ursy.com/wiki/client-side-vs-server-side-rendering/#does-google-index-client-side-rendered-pages"
        },
        {
            "level": 3,
            "text": "Is server-side rendering always faster?",
            "id": "is-server-side-rendering-always-faster",
            "url": "https://ursy.com/wiki/client-side-vs-server-side-rendering/#is-server-side-rendering-always-faster"
        },
        {
            "level": 3,
            "text": "Do I need to rebuild my whole site?",
            "id": "do-i-need-to-rebuild-my-whole-site",
            "url": "https://ursy.com/wiki/client-side-vs-server-side-rendering/#do-i-need-to-rebuild-my-whole-site"
        },
        {
            "level": 2,
            "text": "Related words",
            "id": "related-words",
            "url": "https://ursy.com/wiki/client-side-vs-server-side-rendering/#related-words"
        },
        {
            "level": 2,
            "text": "Sources",
            "id": "sources",
            "url": "https://ursy.com/wiki/client-side-vs-server-side-rendering/#sources"
        }
    ],
    "links": [
        {
            "text": "search crawler",
            "url": "https://ursy.com/wiki/search-crawler/",
            "internal": true
        },
        {
            "text": "bot",
            "url": "https://ursy.com/wiki/bot-web-robot/",
            "internal": true
        },
        {
            "text": "client-side rendering",
            "url": "https://ursy.com/wiki/client-side-rendering/",
            "internal": true
        },
        {
            "text": "HTML",
            "url": "https://ursy.com/wiki/html/",
            "internal": true
        },
        {
            "text": "DOM",
            "url": "https://ursy.com/wiki/dom-document-object-model/",
            "internal": true
        },
        {
            "text": "Rendering on the web",
            "url": "https://web.dev/articles/rendering-on-the-web",
            "internal": false
        },
        {
            "text": "single-page applications",
            "url": "https://ursy.com/wiki/single-page-application/",
            "internal": true
        },
        {
            "text": "server-side rendering",
            "url": "https://ursy.com/wiki/server-side-rendering/",
            "internal": true
        },
        {
            "text": "SSR glossary entry",
            "url": "https://developer.mozilla.org/en-US/docs/Glossary/SSR",
            "internal": false
        },
        {
            "text": "first contentful paint",
            "url": "https://ursy.com/wiki/first-contentful-paint/",
            "internal": true
        },
        {
            "text": "time to first byte",
            "url": "https://ursy.com/wiki/time-to-first-byte/",
            "internal": true
        },
        {
            "text": "Interaction to Next Paint",
            "url": "https://ursy.com/wiki/interaction-to-next-paint/",
            "internal": true
        },
        {
            "text": "Core Web Vitals",
            "url": "https://ursy.com/wiki/core-web-vitals/",
            "internal": true
        },
        {
            "text": "Google",
            "url": "https://ursy.com/wiki/google/",
            "internal": true
        },
        {
            "text": "crawling",
            "url": "https://ursy.com/wiki/crawling/",
            "internal": true
        },
        {
            "text": "JavaScript SEO basics",
            "url": "https://developers.google.com/search/docs/crawling-indexing/javascript/javascript-seo-basics",
            "internal": false
        },
        {
            "text": "Googlebot",
            "url": "https://ursy.com/wiki/googlebot/",
            "internal": true
        },
        {
            "text": "index",
            "url": "https://ursy.com/wiki/search-engine-index/",
            "internal": true
        },
        {
            "text": "JavaScript SEO",
            "url": "https://ursy.com/wiki/javascript-seo/",
            "internal": true
        },
        {
            "text": "rendering",
            "url": "https://ursy.com/wiki/rendering/",
            "internal": true
        },
        {
            "text": "search engines",
            "url": "https://ursy.com/wiki/search-engine/",
            "internal": true
        },
        {
            "text": "Open Graph",
            "url": "https://ursy.com/wiki/open-graph/",
            "internal": true
        },
        {
            "text": "AI crawlers",
            "url": "https://ursy.com/wiki/ai-crawler/",
            "internal": true
        },
        {
            "text": "live fetchers",
            "url": "https://ursy.com/wiki/live-fetcher/",
            "internal": true
        },
        {
            "text": "GPTBot",
            "url": "https://ursy.com/wiki/gptbot/",
            "internal": true
        },
        {
            "text": "ClaudeBot",
            "url": "https://ursy.com/wiki/claudebot/",
            "internal": true
        },
        {
            "text": "answer engine optimisation",
            "url": "https://ursy.com/wiki/answer-engine-optimisation/",
            "internal": true
        },
        {
            "text": "Dynamic rendering",
            "url": "https://ursy.com/wiki/dynamic-rendering/",
            "internal": true
        },
        {
            "text": "dynamic rendering page",
            "url": "https://developers.google.com/search/docs/crawling-indexing/javascript/dynamic-rendering",
            "internal": false
        },
        {
            "text": "noindex",
            "url": "https://ursy.com/wiki/noindex/",
            "internal": true
        },
        {
            "text": "soft 404",
            "url": "https://ursy.com/wiki/soft-404/",
            "internal": true
        },
        {
            "text": "redirect",
            "url": "https://ursy.com/wiki/redirect/",
            "internal": true
        },
        {
            "text": "internal linking",
            "url": "https://ursy.com/wiki/internal-linking/",
            "internal": true
        },
        {
            "text": "Total Blocking Time",
            "url": "https://ursy.com/wiki/total-blocking-time/",
            "internal": true
        },
        {
            "text": "title tag",
            "url": "https://ursy.com/wiki/title-tag/",
            "internal": true
        },
        {
            "text": "canonical tag",
            "url": "https://ursy.com/wiki/canonical-tag/",
            "internal": true
        },
        {
            "text": "URL",
            "url": "https://ursy.com/wiki/url/",
            "internal": true
        },
        {
            "text": "edge",
            "url": "https://ursy.com/wiki/edge-cache/",
            "internal": true
        },
        {
            "text": "JavaScript SEO checker",
            "url": "https://ursy.com/javascript-seo-checker/",
            "internal": true
        },
        {
            "text": "meta tag checker",
            "url": "https://ursy.com/meta-tag-checker/",
            "internal": true
        },
        {
            "text": "Open Graph checker",
            "url": "https://ursy.com/open-graph-checker/",
            "internal": true
        },
        {
            "text": "indexability checker",
            "url": "https://ursy.com/indexability-checker/",
            "internal": true
        },
        {
            "text": "URL Inspection",
            "url": "https://ursy.com/wiki/url-inspection/",
            "internal": true
        },
        {
            "text": "Search Console",
            "url": "https://ursy.com/wiki/google-search-console/",
            "internal": true
        },
        {
            "text": "JavaScript rendering check",
            "url": "https://ursy.com/pro/javascript-rendering-check/",
            "internal": true
        },
        {
            "text": "caching",
            "url": "https://ursy.com/wiki/caching/",
            "internal": true
        },
        {
            "text": "Critical rendering path",
            "url": "https://ursy.com/wiki/critical-rendering-path/",
            "internal": true
        },
        {
            "text": "Crawlability",
            "url": "https://ursy.com/wiki/crawlability/",
            "internal": true
        },
        {
            "text": "Technical SEO",
            "url": "https://ursy.com/wiki/technical-seo/",
            "internal": true
        },
        {
            "text": "Largest Contentful Paint",
            "url": "https://ursy.com/wiki/largest-contentful-paint/",
            "internal": true
        }
    ],
    "words": 1085,
    "text": "Client-side vs server-side rendering is the choice between building a web page in the visitor’s browser with JavaScript (client-side) or building the finished HTML on the server before it is sent (server-side). Both can rank. The difference is how much work a browser, a search crawler or an AI bot must do before it sees your words, links and prices. What is client-side rendering? With client-side rendering (CSR), the server sends a nearly empty HTML shell plus a bundle of JavaScript. The browser runs the script, fetches data and then writes the content into the DOM. web.dev’s guide Rendering on the web defines it as rendering an app in a browser, using JavaScript to modify the DOM. Most single-page applications work this way by default. What is server-side rendering? With server-side rendering (SSR), the server runs the code and returns complete HTML for each address. The text is in the first response. MDN’s SSR glossary entry notes that the two methods are not mutually exclusive and can be used together in the same app. A close cousin is static rendering: every page is built once, when the site is built, and saved as a plain file. How do they compare? Question Client-side Server-side What is in the first response? A shell and script files The full page text and links Who does the work? The visitor’s device Your server, once per request First byte Usually quick Can be slower, unless cached First paint of content Waits for script and data Usually fast Bots that skip JavaScript See little or nothing See everything Status codes Hard to set per page Set normally web.dev says SSR generally produces a fast first contentful paint, while generating pages on the server can raise time to first byte. With CSR, it warns that the JavaScript needed tends to grow as an app grows, which can hurt Interaction to Next Paint, one of the Core Web Vitals. Why does it matter for search? Google handles JavaScript in 3 phases: crawling, rendering and indexing. Its JavaScript SEO basics page says Googlebot queues pages with a 200 status for rendering, and a page may wait in that queue until Google’s resources allow. A server-rendered page can be read in the first pass. A client-rendered page needs the second pass before its text reaches the index. The same Google page still calls server-side or pre-rendering a great idea, because it makes the site faster for people and crawlers. See JavaScript SEO and rendering for the wider picture. Why does it matter for AI answers? Google’s page also says plainly that not all bots can run JavaScript. MDN adds that major search engines can run it, but social media crawlers usually cannot. That is why a link shared on a chat app often shows a blank card when the Open Graph tags are written by script. Many AI crawlers and live fetchers, such as GPTBot or ClaudeBot, are not documented by their owners as running scripts, so plan as if they read raw HTML only. If your facts only appear after a script runs, an assistant may never read them. Server-sent HTML is the safer route for answer engine optimisation. What about dynamic rendering? Dynamic rendering means sending bots a pre-rendered copy and people the script version. Google’s dynamic rendering page now calls it a workaround and not a recommended solution. It points to server-side rendering, static rendering or hydration instead. Hydration means the server sends finished HTML, then a script attaches buttons and live state on top. Common mistakes Noindex removed by script. Google says that when it sees a noindex in the first HTML it may skip rendering, so a script cannot reliably take it away. Every error is a 200. A client-rendered “not found” screen still returns 200, which creates a soft 404. Google suggests a redirect to a server-side not-found address or a script-added noindex. Links as click handlers. Crawlers follow real <a href> links. Buttons that change the view with script are not links, so internal linking breaks. Heavy hydration. Sending full HTML and then a huge bundle can look fast but feel slow. web.dev says rehydration can harm Total Blocking Time and INP even when first paint improves. Titles set late. A title tag or canonical tag written by script may be missed by tools and bots that only read raw HTML. A worked example A small shop runs a product list as a single-page app. The raw HTML for /kettles/ holds one empty div and 3 script files. In Google’s URL Inspection, the rendered view shows all 40 products, so Google can see them after rendering. But a link preview on a messaging app shows only the site name, and a fetch that skips JavaScript returns no prices at all. The shop switches the list and product pages to server rendering, keeps the filter buttons as client-side extras, and caches each page at the edge. The first response now carries every name, price and link. Time to first byte stays low because cached pages do not need rebuilding. How to check it Open the page, choose “view source” (not the inspector) and search for a sentence from the page. If it is missing, the text is client-rendered. Put the address into our JavaScript SEO checker: it sets the raw source beside the page a browser builds. Use our meta tag checker and Open Graph checker to see the tags bots receive without script. Check that the page can be indexed with our indexability checker, then confirm in Google’s URL Inspection tool inside Search Console. For a whole site, our JavaScript rendering check (Pro) compares every page. Questions Does Google index client-side rendered pages? Yes, Google renders JavaScript in a headless Chromium browser. The cost is a delay and a risk that some content, links or tags are missed. Is server-side rendering always faster? Not always. Building HTML per request can slow the first byte. Good caching or static rendering fixes most of that. Do I need to rebuild my whole site? Usually not. Render the pages that must be found (home, categories, products, articles) on the server, and keep interactive parts on the client. Related words Critical rendering path Crawlability Technical SEO Largest Contentful Paint Sources web.dev: Rendering on the web, checked 24 November 2026 Google Search Central: Understand JavaScript SEO basics, checked 24 November 2026 Google Search Central: Dynamic rendering as a workaround, checked 24 November 2026 MDN: SSR (server-side rendering), checked 24 November 2026 Updated 24 November 2026 by URSY.",
    "source": "https://ursy.com/wiki/client-side-vs-server-side-rendering/"
}