What is Server-side rendering (SSR)?

A method in which the server generates a page's HTML and returns it each time a request arrives. The browser can display the HTML as soon as it arrives, so the first display is fast and the content is easily understood by search engines. Sending minimal HTML and JavaScript and building the page inside the browser is client-side rendering (CSR), and generating the HTML of every page in advance at build time is static site generation (SSG). Many setups also make the server-generated HTML interactive with JavaScript after it is displayed.

Japanese name: サーバサイドレンダリング(SSR)

Server-side rendering (SSR) appears in 1 practice question across 1 topic, including Web Technology Basics.

Field: Web Technology Basics

Try it: questions about Server-side rendering (SSR)

Among the ways of producing the pages of a website, which of the following generates the HTML files of all pages in advance at the build stage and returns those files as they are in response to requests?

  1. ACSR (client-side rendering)
  2. BSSR (server-side rendering)
  3. CSSG (static site generation)
Show answer and explanation

Answer: C. SSG (static site generation)

A site made with SSG is a static site that does not run a program on the server for each request, so it can be delivered quickly as is from hosting services for static files or from a CDN, and it also has fewer parts that can be attacked. For example, a site that generates its question and glossary pages from content data at build time and delivers them is of this kind, and when the content changes, the pages are generated again. SSR is a dynamic method in which the server builds HTML for each request, and CSR sends minimal HTML and JavaScript and assembles the page inside the browser.

Server-side rendering (SSR) in the explanations

Questions that mention Server-side rendering (SSR) (1)

  1. Among the ways of producing the pages of a website, which of the following generates the HTML files of all pages in advance at the build stage and returns those files as they are in response to requests?

Books on Web Technology Basics Ad

As an Amazon Associate I earn from qualifying purchases.

Related terms

Cookie (HTTP cookie) CORS (cross-origin resource sharing) DOM (Document Object Model) Event loop HTTP (Hypertext Transfer Protocol) HTTP method HTTP status code JSON (JavaScript Object Notation) JWT (JSON Web Token) OAuth

Back to the glossary