Jump to content

One big AJAX request vs many little ones


jcanker

Recommended Posts

Which is more efficient or preferable (read: accepted better practice)?

 

I am building an AJAX app to work with my customer account info.  I will not need all the info all the time, for instance, billing contact info, technical contact info, the trouble ticket info, etc.

 

Everything's going to be stored in an object literal. 

 

Is it better to grab this information all at once and just display it as needed, or is it better to make a bunch of AJAX requests to get the info as needed?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.