cancel
Showing results for 
Search instead for 
Did you mean: 

Issues on ui5 bootstrap

0 Kudos
  1. Why ui5 would download the library-preload.js, library.css and library-parameters.json?
  2. Can it be avoided? Coz this will require too much to download and also cause the latency of the app performance?
  3. Can I customize the size of a ui5 module from the server?

For example, if I used 10 controls in sap.m, I just want these 10 to get downloaded instead the whole sap.m
I tried the data-sap-ui-preload="async", but it would download all controls used one by one. This would cause a number of requests that would finally impact the performance.

Victor

Accepted Solutions (0)

Answers (1)

Answers (1)

lk24
Participant
0 Kudos

hi ,

instead of specifying lib control's in sap.ui.define use sap.ui.require so that lib controls will be loaded only at the time of need and not at the time of loading the application.

with regards

Lokesh