title: Dojo making application loading slow
body: <p>The mobile application developed using xpages and mobile extension lib. is loading extremely slow on mobile devices. To study the comparative statistics, another plain web HTML was served from Domino server. We found that the plain web HTML loading was very quick and the reason for slow loading was DOJO. Following is the snap shot of the mobile page which is getting loaded slowly.Any tips on how Dojo loading can be made faster?</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;xp:view xmlns:xp="http://www.ibm.com/xsp/core" dojoParseOnLoad="true"
  dojoTheme="true" xmlns:xe="http://www.ibm.com/xsp/coreex"
  xmlns:xc="http://www.ibm.com/xsp/custom" &gt;
  &lt;xp:this.resources&gt;
  
  &lt;xp:dojoModule name="dojox.grid.DataGrid"&gt;&lt;/xp:dojoModule&gt;
  &lt;xp:dojoModule name="dojox.data.JsonRestStore"&gt;&lt;/xp:dojoModule&gt;
  &lt;xp:dojoModule name="dijit.form.Button"&gt;&lt;/xp:dojoModule&gt;
  </code></pre>