Girish Dubey Posted September 29, 2016 Share Posted September 29, 2016 (edited) I am going to develop optimize web site. The problem with 200-250 AJAX calls for different values on loading. that's why i have selected angularjs-http-batch request to get values. So, Can you suggest me pros and cons of batch request? Edited September 29, 2016 by Girish Dubey Link to comment Share on other sites More sharing options...
thescientist Posted September 29, 2016 Share Posted September 29, 2016 I would look into why that many AJAX calls are needed at all. That seems excessive even for a site that deals in big data, as their challenge would be in keeping the response quick and small. Others will look into technologies like Falcor or GraphQL, but still, that's a lot of requests. I would start with reviewing the architecture that requires that many calls in the first place. Link to comment Share on other sites More sharing options...
Ingolme Posted September 30, 2016 Share Posted September 30, 2016 That's way too many requests, you need to rethink your requirements. What's causing so many different requests? AngularJS is intended for browser applications, if what you're making is website then I would advise against using AngularJS. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now