Plain definition
Definition of Server-Side Rendering (SSR)
A web rendering technique where the server fetches fresh data and builds the HTML for a page on each incoming request before sending it to the browser.
HTTP Request -> Server Fetches Data & Builds HTML -> Browser Renders HTML -> Client Hydrates InteractivityWorked example
Imagine a made-up uptime status product called StatusMoat where every customer gets a public page at `status.statusmoat.example/acme`. Because an outage banner can change at any minute, pre-building static HTML once a day would show stale uptime during a real incident. At the same time, rendering an empty `<div id="root"></div>` shell on the client would break Slack and X link previews and delay first paint on mobile networks.
Using Server-Side Rendering in Next.js App Router with Server Components, StatusMoat reads the customer's live incident status on the server when a request arrives, sends complete HTML including the current status title, Open Graph tags, and incident timeline, and hydrates only the interactive 'Subscribe to updates' form on the client. To protect its database during a traffic spike, StatusMoat adds short cache headers (`s-maxage=15, stale-while-revalidate=60`) on public status routes while keeping private billing screens uncached.
Why it matters when you launch
MDN notes that SSR generates HTML on the server at request time, contrasting with client-side rendering (where browser JavaScript builds the DOM) and static sites (where HTML is generated earlier at build time). Both approaches can coexist in the same app: static generation fits docs and marketing pages, while SSR handles public pages whose data changes frequently or depends on the incoming request.
For indie launches, SSR solves two practical headaches on dynamic public URLs: search crawlers and social link-preview scrapers receive finished metadata and content immediately without executing heavy client bundles, and visitors see real content faster on slow connections. The trade-off is server compute latency and database load per uncached hit, which you must plan for before a launch-day surge.
Common mistakes
- Running uncached SSR with three sequential database queries on a public homepage, causing slow Time to First Byte and database exhaustion when launch traffic spikes.
- Shipping huge client JavaScript bundles alongside SSR so the page looks painted quickly yet freezes for seconds during hydration before buttons respond.
- Passing unauthenticated user cookies or private fields into cached SSR responses, accidentally leaking one user's data to another visitor.
- Using SSR on purely static marketing or glossary pages that rarely change, paying per-request compute overhead when static generation with revalidation is faster and cheaper.
Tools and guides that use it
Free tool
Live Launch Readiness CheckerInspect any live URL for HTTPS, title, meta description, canonical, Open Graph cards, JSON-LD and AI search crawler access.Free tool
Open Graph & Social Card PreviewerSimulate how your product links and preview images appear on X, LinkedIn, Google Search, and Slack.Founder guide
SEO for Next.js SaaS Sites: App Router Setup Guide (2026)Configure Next.js App Router metadata, canonicals, static prerendering, sitemaps, sanitized JSON-LD, Open Graph images, and Search Console verification for an indie SaaS.Founder guide
The Next.js Technical SEO Launch Checklist (2026)What to check before and after launch day: crawlability, metadata, canonical URLs, structured data, sitemaps, internal links, Core Web Vitals and AI crawlers.Related glossary terms
Official sources
Pritam Ghosh runs Hauntboard and maintains this glossary.
Published · Updated
Building something real? Launch it in public.
A person reviews every launch on Hauntboard, and every view and visit it sends your site is published on your launch page. Free to submit.