← All notes

Angular can render on the server as part of a hybrid strategy

Answer: Angular ships applications as client-side rendered (CSR) by default. That first payload is lightweight, but it can mean slower load times and more work on the user's device. Many applications improve performance by adding server-side rendering (SSR) to a hybrid rendering strategy.

Hybrid rendering

Hybrid rendering lets you combine SSR, prerendering (also called static site generation, or SSG), and CSR. You get fine-grained control over how different parts of the app are rendered.

You can create a new project with hybrid rendering by passing --ssr to ng new. You can also add server-side rendering to an existing project with ng add. By default, Angular prerenders the entire application and generates a server file. Server routes are configured as an array of ServerRoute objects.

In source

platformServer creates a server-side instance of an Angular platform. Use that platform when performing server-side rendering. Standalone applications can be bootstrapped on the server with bootstrapApplication from @angular/platform-browser. When using bootstrapApplication, platformServer should be created first and passed to the bootstrap function using the BootstrapContext.

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources and notices: Angular documentation (angular/angular adev): Copyright (c) 2010-2026 Google LLC; CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Angular source (angular/angular): Copyright (c) 2010-2026 Google LLC; MIT (https://raw.githubusercontent.com/angular/angular/main/LICENSE). Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Angular docs, CC BY 4.0 text (angular/angular adev footer); Angular source, MIT (angular/angular). Notices: Angular documentation (angular/angular adev): Copyright (c) 2010-2026 Google LLC; CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Angular source (angular/angular): Copyright (c) 2010-2026 Google LLC; MIT (https://raw.githubusercontent.com/angular/angular/main/LICENSE).

Cite this

Permanent ID: iil:note:w757r6bq

iinventedlight. 2026. "Angular hybrid rendering combines SSR, prerendering, and client rendering." iinventedlight Library, iil:note:w757r6bq, version of 2026-11-11. https://iinventedlight.com/library/notes/angular-ssr/. License: CC-BY-4.0.

@misc{iil_note_w757r6bq,
  author = {{iinventedlight}},
  title = {{Angular hybrid rendering combines SSR, prerendering, and client rendering}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-11},
  url = {https://iinventedlight.com/library/notes/angular-ssr/},
  note = {Permanent ID iil:note:w757r6bq. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com.

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/angular-ssr.md.