Yes, preloading only works for GET requests at the moment. Later updates to the OpenSocial API may include support for other types of requests, but this won't be for some time.
- Jason On May 22, 4:39 am, "RAJA SEKHAR" <[EMAIL PROTECTED]> wrote: > *Hi Arne and Jason ,* > ** > *Why Preload is not working if i use the POST method for my servlets .* > *Is this works only for GET method.* > *Thanks * > *Rajasekhar V > > * > On Thu, May 22, 2008 at 12:44 PM, RAJA SEKHAR <[EMAIL PROTECTED]> > wrote: > > > > > Thanks Jason and Arne , > > yes this is really fast but thing here is > > once i moved between Tabs and coming to last clicked tab then preload is > > not working . > > > Then what can i do to work preload throughout my session with my app. > > > Thanks > > RajaSekhar.V > > > On Tue, May 20, 2008 at 8:26 PM, Arne Roomann-Kurrik < > > [EMAIL PROTECTED]> wrote: > > >> Additionally, you'll see the preload content included in the source of > >> your gadget's iframe. If you view the iframe source, you'l see something > >> like: > > >> gadgets.io.preloaded_ = {"http://www.example.com > >> ":{"body":"...","rc":200}}; > > >> Where ... is replaced by the content of your server's response. If you > >> see this value, then the preload worked. > > >> Cheers, > >> ~Arne > > >> On Mon, May 19, 2008 at 5:21 PM, Jason <[EMAIL PROTECTED]> wrote: > > >>> Hi Rajasekhar. > > >>> The most straightforward way to determine the time savings that > >>> Preload tags offer is by firing a request without a Preload tag, then > >>> firing the request after adding the tag. Firebug and similar tools can > >>> measure the duration of time between request and response and you can > >>> compare these figures to see the improvement. Quick note: make sure to > >>> append an arbitrary parameter to your requests to make sure orkut > >>> isn't pulling the response from cache -- this is the only way to > >>> ensure a fair contest. While I don't have any comparisons of my own on > >>> hand, the response from developers who have added Preload tags has > >>> been overwhelmingly positive. > > >>> To answer your other questions: > >>> - As far as I know, you can include as many Preload tags as you need. > >>> - If you don't include the 'views' attribute, Preload tags are applied > >>> to both the canvas and profile views. > >>> - If you don't include the 'authz' attribute, requests sent to your > >>> server will not be signed by orkut. All requests that attempt to > >>> access user-specific information stored on your back-end should be > >>> signed to verify their authenticity. > > >>> Please let me know if you need any more facts. > > >>> Cheers! > >>> - Jason > > >>> On May 16, 3:57 am, Rajasekhar <[EMAIL PROTECTED]> wrote: > >>> > Hi Googlers, > > >>> > when i use the preload > > >>> > how can i test the performance and how many preloads i can use in my > >>> > xml. > > >>> > and if not use the view param then is it available in both views , > >>> > andif not use authz what happen > >>> > and please give me the clear explanation about <preload> > > >>> > I checked both urls given by arne. > >>>http://code.google.com/p/opensocial-resources/wiki/LatencyCombatField... > > >>> > Thank > >>> > RajaSekhar > > >> -- > >> OpenSocial IRC - irc://irc.freenode.net/opensocial > > > -- > > RajaSekhar > > -- > RajaSekhar --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to opensocial-orkut@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-orkut?hl=en -~----------~----~----~----~------~----~------~--~---