Webdev Newsletter By Techiediaries

Share this post

Angular Best Practices: 👉 Server-Side Rendering (SSR)

angularnewsletter.substack.com

Angular Best Practices: 👉 Server-Side Rendering (SSR)

Best practices for writing clean and efficient code with Angular

Ahmed Bouchefra
Mar 21, 2021
3
Share this post

Angular Best Practices: 👉 Server-Side Rendering (SSR)

angularnewsletter.substack.com

Server-side rendering (SSR) is the process of pre-rendering web pages on a server and passing them to the browser (client-side), instead of rendering them in the browser. SSR sends a fully rendered page to the client. this is how your JSP or PHP works.

🌌 Benefits of SSR

⚡ Facilitate web crawlers through search engine optimization (SEO)

⚡Improve performance on mobile and low-powered devices

⚡Show the first page quickly with a first-contentful paint (FCP)

But now the JavaScript frameworks allow you to combine the best of both worlds that means your first rendering (when a client enters URL) happens on the server and then the client’s JavaScript bundle takes over.

⚡ Configure SSR to Angular with Angular Universe

Share this post

Angular Best Practices: 👉 Server-Side Rendering (SSR)

angularnewsletter.substack.com
Comments
TopNewCommunity

No posts

Ready for more?

© 2023 Ahmed Bouchefra
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing