title: Optimizing sapui5/openui5 initialization in hybrid web apps
body: <p>We're building a hybrid web app using sapui5 (built through phonegap build). </p>
  
  <p>The startup time is a bit slow for the app as a whole including sapui5, so we would like to optimize it.</p>
  
  <p>All the sapui5 files are packaged with the hybrid app, so there are no network request done during initialization. </p>
  
  <p>This is our current initializiation of sapui5: </p>
  
  <pre><code>    &lt;script id="sap-ui-bootstrap" type="text/javascript" src="sap-ui-core.js"
  data-sap-ui-preload="sync"
  data-sap-ui-theme="sap_bluecrystal"
  data-sap-ui-libs="sap.ui.layout,sap.viz,sap.ui.commons,sap.ui.unified,sap.ui.ux3,sap.ui.table,sap.suite.ui.commons,sap.m,sap.me"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>We're currently using sapui5 version 1.24.2.</p>
  
  <p>I'll be using the <a href="http://www.w3.org/TR/navigation-timing/" rel="nofollow">performance.timing</a> object to check the effect of any changes.</p>
  
  <p>We will remove unused libs from the data-sap-ui-libs , but are there other actions that can be taken?</p>