0% found this document useful (0 votes)
9 views6 pages

SSR Implementation in Angular Universal

The document discusses implementing server-side rendering (SSR) with Angular Universal for the FlexFunding client app. SSR can improve perceived page load times by rendering on the server instead of waiting for the browser. While SSR provides benefits like initial loading speed and SEO, it also requires more server resources and complex caching. Implementing SSR for this app would necessitate a dedicated server and reworking code that currently uses browser-specific objects, as well as rearchitecting the authentication system to be cookie-based rather than token-based.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ZIP, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views6 pages

SSR Implementation in Angular Universal

The document discusses implementing server-side rendering (SSR) with Angular Universal for the FlexFunding client app. SSR can improve perceived page load times by rendering on the server instead of waiting for the browser. While SSR provides benefits like initial loading speed and SEO, it also requires more server resources and complex caching. Implementing SSR for this app would necessitate a dedicated server and reworking code that currently uses browser-specific objects, as well as rearchitecting the authentication system to be cookie-based rather than token-based.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ZIP, PDF, TXT or read online on Scribd

Server Side Rendering with

Angular Universal
A proof of concept for implementing the SSR in FlexFunding client app

14 Jul 2020
Server Side Rendering In FF-
Client
What is SSR? 
It is a technique used to improve the
perceived page load times.
Normally browser downloads the bundle
and then renders in client’s pc. SSR
renders from servers directly
SSR pros and cons

Pros
• Initial loading time
• SEO
Cons
• Server Cost
• Complex Caching
Our Findings
The good

FF is client loading time is blazingly


fast now.
Our Findings
The Bad

Server cost, we will need a


dedicated server for this. It needs
a good ram, if concurrent users
are high.
Our Findings
The Ugly

• Too many previous codes in client app, are using ‘window’ and
‘document’ object, which is only present in browser. Need to fix this
• Need to re-architect authentication system, now it’s token based, we need
to make it cookie based. It will impact some of backend tasks too

You might also like