Short answer
Server-side rendering builds each page when a visitor requests it, so the content reflects the database at that moment. Static site generation builds pages ahead of time and serves stored files, which is faster and cheaper but shows whatever was true at the last build. A live stock count needs the first; an About page does not.
Also called: SSR, SSG, Static site generation, Pre-rendering
Modern frameworks let both run inside one site, decided page by page, so the choice is not architectural loyalty but a per-page question about how stale the content is allowed to be. A pricing page rebuilt nightly is fine. A booking calendar rebuilt nightly is a support ticket. Between the two sits incremental regeneration, where static pages are rebuilt on a schedule or when the data behind them changes.
What this decides in practice is cost and failure mode. Static pages are files, so they survive traffic spikes and cost almost nothing to serve. Server-rendered pages run code on every request, which means server capacity, caching rules and a slower page when the database is under load. Neither is faster in the abstract, and a badly cached static site can lose to a well-tuned rendered one.
Where this comes up in our work
Related terms
Core Web Vitals
Core Web Vitals are three metrics Google publishes to measure page experience: Largest Contentful Paint (loading, good at 2.5 seconds or under), Interaction to Next Paint (responsiveness, 200 milliseconds or under) and Cumulative Layout Shift (visual stability, 0.1 or under).
Headless CMS
A headless CMS stores content without controlling how it is displayed: editors work in an admin interface, and the content is delivered to a website, mobile app or in-store screen through an API.
Web Hosting
Web hosting is the paid service that keeps a website’s files on a server connected to the internet so visitors can load them.
Content Management System (CMS)
A content management system is software that lets non-technical staff create, edit and publish website content without touching code.
Reading definitions because you are scoping a project? Skip ahead and just ask.