Latency lurks around every corner...defend yourself!

Friday, April 18, 2008 at 10:16 AM



Over the past few weeks, we've been studying the behavior of apps on orkut and have discovered several ways to make them faster. We've made a few enhancements on our side that have improved response time considerably, like pre-fetching data requests—essentially retrieving the data your app will need before it's requested.

In addition to the efforts we've undertaken, there are optimizations you can make in your apps to improve their load times. There are some general web development best practices that are especially helpful in the OpenSocial context, and other techniques that are specific to OpenSocial and orkut, like using gadgets.io.proxyUrl to access cached resources rather than hitting your own server for each request.

Send your app through boot camp with this Latency Combat Field Manual and get your code up to speed.