Hi Raja, I think that you should reduce the number of owner friends rendered on the profile view as noticed by orkut. I think, for that purpose, you have to divide the friend list into several pages using PeopleRequestFields.MAX and FIRST at requesting owner friends.
var params = {}; params[opensocial.DataRequest.PeopleRequestFields.MAX] = 10; params[opensocial.DataRequest.PeopleRequestFields.FIRST] = 30; var req = opensocial.newDataRequest(); req.add(req.newFetchPeopleRequest(opensocial.DataRequest.Group.OWNER_FRIENDS, params), "friends"); req.send(function(data) {...}); And your code is more better fetching the data from the persistence area without requesting friends every time. Please refer to the following document for more information. http://code.google.com/apis/orkut/articles/latency.html Regards, Yoichiro On Sep 4, 1:01 pm, Raja M <[EMAIL PROTECTED]> wrote: > We have received the following issue from orkut. How can i solve this > issue. > > Issue: > We've noticed that your application is currently requesting a max of > 1000 > owner friends on every render on the Orkut profile page. This is > extremely expensive and slow for users with that many friends. Could > you significantly reduce this number, e.g., to 20? If there are parts > of your UI that need more than just the first few friends, please > request that in a subsequent data request. This is particularly > critical for the profile view. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial Application Development" group. To post to this group, send email to opensocial-api@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~----------~----~----~----~------~----~------~--~---