- Muchas notas - Fran Acién

20220617 - Rendering on the Web

I read this article beacuse is referenced in Angular Universal. I wanted to create a web aplication that connects to a database and serve its content with a good CMS. The google’s article describes the different strategies you can use when rendering a webpage.

  • Server rendering: The server generates the HTML in response to navigation. An example could be PHP or node with express.
  • Static rendering: Means producing a separate HTML file for each URL ahead of time. This could be Hugo, Gatsby, Jekyll, etc, etc.
  • Client-Side Rendering: Render the webpage in the browser usign javascript. This could be 20220310 - Angular io.
  • Universal rendering: Also refered as SSR or rehydration, it is a combination between Server rendering and cliend-side rendering. Basically is to send the page first and then the javascript enbedded in the page.