gauravmehla gauravmehla - 4 years ago 119
AngularJS Question

Retrieving data from server is slow in AngularJS application

I am building a web application in which i have to make a lot of

requests to server. i am using
in front-end and
in back-end. i am making
requests something like this :

enter image description here

but the problem is , my app is very slow. There is a glitch in each section between opening the page and retrieving the data.

enter image description here

Is the way i am making
requests is architecturally correct or i am doing something wrong.

How to decrease
Time To First Byte (TTFB)

enter image description here

Answer Source

You should find out if the server is slow while handling the request by printing some log on server side.

I guess the problem is not on AngularJS, but the server side.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download