PageSpeed Matters
    PageSpeed Matters
    Interactivity & Rendering · Glossary

    Rendering Modes (CSR, SSR, SSG, ISR) · Definition & Explanation 2026

    Web rendering modes determine where and when HTML is generated — on the client (CSR), on the server per-request (SSR), at build time (SSG), or a hybrid approach (ISR). This architectural choice fundamentally shapes your performance characteristics, SEO capabilities, and infrastructure requirements.

    Choosing the right rendering strategy is one of the most impactful decisions for web performance. CSR (Client-Side Rendering) produces slow FCP/LCP because the browser must download and execute JavaScript before showing content. SSG (Static Site Generation) provides the fastest possible TTFB and LCP. SSR and ISR offer middle-ground solutions for dynamic content.

    In 2026, modern frameworks like Next.js, Astro, and Remix support mixing rendering modes per-route, allowing developers to choose the optimal strategy for each page type.

    Updated 2026-02-28
    M
    By Matt Suffoletto

    TL;DR — Quick Summary

    Four rendering strategies: CSR (JS builds page in browser — slow FCP/LCP), SSR (server renders per request — fast FCP, higher TTFB), SSG (pre-built at deploy — fastest), ISR (SSG + background refresh — fast + fresh). Choose based on content dynamism and SEO needs.

    What is Rendering Modes (CSR, SSR, SSG, ISR)?

    Web rendering modes determine where and when HTML is generated:

    Client-Side Rendering (CSR): The server sends a minimal HTML shell; JavaScript builds the page in the browser. Frameworks like React default to this. Fast for highly interactive apps but produces slow FCP/LCP because the browser must download, parse, and execute JS before showing content.

    Server-Side Rendering (SSR): The server generates complete HTML on each request. The browser shows content immediately while JavaScript 'hydrates' it for interactivity. Fast FCP/LCP, better SEO, but higher server load and slightly higher TTFB. Used by Next.js, Nuxt.js, Remix.

    Static Site Generation (SSG): HTML pages are generated at build time and served from CDN with no server processing. Fastest possible TTFB (< 50ms) and LCP. Ideal for content that doesn't change between requests. Used by Next.js, Gatsby, Astro, Hugo.

    Incremental Static Regeneration (ISR): Combines SSG speed with SSR freshness. Pages are initially generated at build time but regenerate in the background after set intervals. Visitors get cached (fast) pages while new versions build behind the scenes. Introduced by Next.js.

    History & Evolution

    • 2000s — Server-rendered HTML (SSR) is the default. PHP, ASP, JSP generate HTML per request.
    • 2013 — React popularizes CSR. Single Page Applications (SPAs) become the dominant architecture.
    • 2016 — Next.js introduces SSR for React, solving CSR's SEO and performance issues.
    • 2019 — Next.js adds SSG and ISR, enabling static generation with on-demand regeneration.
    • 2021 — Astro introduces 'Islands Architecture' — static HTML with selective hydration.
    • 2025–2026 — React Server Components blur the line between SSR and CSR. Streaming HTML enables progressive rendering.

    Frequently Asked Questions

    Struggling with Rendering Modes (CSR, SSR, SSG, ISR)?

    Request a free speed audit and we'll identify exactly what's holding your scores back.