In SAPUI5 when you add a sap.m.DatePicker
to your app for the first time it takes some seconds to load the required files and open the date picker. In the API they explained:
Note: The sap.ui.unified.Calendar is used internally only if the DatePicker is opened (not used for the initial rendering). If the sap.ui.unified library is not loaded before the DatePicker is opened, it will be loaded upon opening. This could lead to a waiting time when the DatePicker is opened for the first time. To prevent this, apps using the DatePicker should also load the sap.ui.unified library.
So this it the solution they suggest for making the loading of DatePicker faster.
When I use sap.ui.comp.smarttable.SmartTable
it takes at least 10 to 15 seconds for the first time that user can see the app.
Actually it loads a huge number of individuals JavaScript files. Here is a small part of the files that are loaded.
Now the question is, Is there anyway to make this loading faster?
I tried the following code in the dependencies
of manifest but was not helpful.
"sap.ui.comp": {
"minVersion": "1.52.1"
}
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…