Closed Victor716 closed 4 years ago
Hello @Victor716,
Thank you for sharing this finding. I've created an internal incident 2070425459. The status of the issue will be updated here in GitHub.
Best Regards, Florian
Glad to see your response. Looking forward to your good news. If possible, can we have a call to discuss about it? My ID is c5306366.
Hey Victor, Answering your questions:
self-contained
build of the UI5 Tooling as I mentioned in your other issue (I know your comment here predates that): https://github.com/SAP/ui5-tooling/issues/268#issuecomment-717113840For 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.
I think your application's manifest.json
is missing a library dependency to sap.m. Therefore the library-preload.js
is not loaded and all controls are requested individually. Please have a look at the "Use manifest.json Instead of the Bootstrap to Define Dependencies" chapter of our performance guide: https://ui5.sap.com/#/topic/408b40efed3c416681e1bd8cdd8910d4
OpenUI5 version: 1.80.0
Questions:
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. Thanks a lot
Victor Ye