We're building a hybrid web app using sapui5 (built through phonegap build).
The startup time is a bit slow for the app as a whole including sapui5, so we would like to optimize it.
All the sapui5 files are packaged with the hybrid app, so there are no network request done during initialization.
This is our current initializiation of sapui5:
<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"></script>
We're currently using sapui5 version 1.24.2.
I'll be using the performance.timing object to check the effect of any changes.
We will remove unused libs from the data-sap-ui-libs , but are there other actions that can be taken?