cancel
Showing results for 
Search instead for 
Did you mean: 

slow load of sap ui5 libraries

yevgen_trukhin
Advisor
Advisor
0 Kudos

Hi colleagues, so far i experience very slow load of sap ui5 libraries in my sap ui5 application deployed on HCP. I use cachebuster

  <script src="resources/sap-ui-cachebuster/sap-ui-core.js"

                      id="sap-ui-bootstrap"

                      data-sap-ui-libs="sap.ui.commons,sap.ui.ux3,sap.viz,sap.m"

                      data-sap-ui-theme="sap_goldreflection"

                      data-sap-ui-appCacheBuster="./"

                       >

              </script> 

But still the load is very slow up to 40 seconds.

I attach the screenshot from webdebugger:

Best Regards, Yevgen

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Your browser is currently not making use of the Cache. Make sure that you have NOT checked the "Disable Cache" flag in the network tab of your dev tools to see the cache in action.

Secondly as you can see sap.viz is really a huge (2.1MB) library. You could try to delay the loading of this library if you do not use it on the initial screen of your application and load it on demand via sap.ui.getCore().loadLibrary("sap.viz");

BR

Chris

Answers (0)