#summary Best practices when writing OpenSocial applications = Introduction = Try to follow these best practices when writing your applications. = Details = == Reduce Latency == Check out the [LatencyCombatFieldManual Latency Combat Field Manual] for information on how to make your applications load faster. == Link HREFs == To use links to trigger JavaScript functions, you can use this format: {{{ Click me to call this }}} *Do not use `href="#"`!* When the user clicks on the link, the IFRAME hosting your gadget will clear its security token and subsequent opensocial calls will fail.