Skip to Content

Why SAPUI5 loads JS file for each control used in app?

Jan 16 at 04:09 PM


avatar image
Former Member


We have a UI5 application where users always complains about the performance of the app so we followed this blog and improved some. When I am checking network tab I see that the UI5 library first loads core library (sap-ui-core.js) and after that it loads the JS file for each and every control which I am using in the apps - below image.

By making this call to server each time for every control the time consume is pretty high ~37 seconds (without any data just plain UI). I am not sure whether this is the standard behavior of UI5 or we are doing something wrong.

Any guidance would be helpful for us?


load-time.png (56.9 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Sharath M G Jan 16 at 05:44 PM

Use the option of Component-preload to minify and preload the libraries for loading controls and their relevant libraries.

Check this thread for more details:



10 |10000 characters needed characters left characters exceeded
Jayakrishnan Chandramohan Feb 02 at 11:46 AM

Hi Rahul,

I am sure, the question what i am going to ask here is irrelevant to this post. But i need to know the answer for your previous post "Creating Custom Launchpad". have you completed that? i also need to do the same in my firm. If you share any info about that it will be useful for me.

i have already posted one question.

Thank you,



10 |10000 characters needed characters left characters exceeded