yadavdep
asked on
request to iss from jquery
I have page which has a grid section.
User can select one record from it and its details loads up in the details section
Now under details section information comes from three tables.
I am using Jquery ajax method to load the information in the form of json.
my question is, as I need information from three tables then
1. should I make one request and get the big bulky object in return.
2. should I make multiple request and get multiple response but smaller in sizes.
User can select one record from it and its details loads up in the details section
Now under details section information comes from three tables.
I am using Jquery ajax method to load the information in the form of json.
my question is, as I need information from three tables then
1. should I make one request and get the big bulky object in return.
2. should I make multiple request and get multiple response but smaller in sizes.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<<my problem is that in one of the table I have memo field and user can copy and paste any amount of data in it.>>
In that case, unless you can stream data from your server, don't fetch everything in one go.
In that case, unless you can stream data from your server, don't fetch everything in one go.
separate requests :
- slow dow, the proces
- consume bandwith
- slow down server (more request)
if you want to increase user experience choose another method
choosing a solution because it's easiest is not a right choice IMHO
- slow dow, the proces
- consume bandwith
- slow down server (more request)
if you want to increase user experience choose another method
choosing a solution because it's easiest is not a right choice IMHO
ASKER
So the request size can vary.
but I also think doing a separate request would be better