Thursday, 15 August 2013

angularjs 2 response to render one page

angularjs 2 response to render one page

This is something that's been bothering me.
In a typical web application, request goes to the server and the server
does it's 'stuff' and returns the template along with the data, ready to
be displayed on the browser.
In Angular however, there is a response to get the template and, in most
cases, another one to get the data.
Doesn't this add pressure on the bandwidth – 2 responses sent over the
wire as compared to one from a typical web app. Doesn't it also imply a
(possibly) higher page-load time?
Thanks, Arun

No comments:

Post a Comment