Skip to Content

SAP UI5 Libraries Long Loading

Hello,

I am currently developing a web page with 12 basic i5Grids in xMII Workbench, and the module am working with is below, the page currently takes 20+ seconds to load, which is way too long. The Javascript is premade by Applet/SAP UI5 script assistant with very little modification.

I have investigated the pages performance and 46% of the loading time is taken up by the bootstrap.js src files.

Are there other modules available that includes the i5Grids/i5charts libraries that doesn't require loading files I don't need for this specific page or other ways I can improve the loading time.

Any help at all will be appreciated.

<!DOCTYPE HTML>
<HTML>
<HEAD>
	<TITLE>Your Title Here</TITLE>
	<META http-equiv="X-UA-Compatible" content="IE=edge">
	<META http-equiv='cache-control' content='no-cache'>
	<META http-equiv='expires' content='0'>
	<META http-equiv='pragma' content='no-cache'>
	<SCRIPT type="text/javascript" src="/XMII/JavaScript/bootstrap.js" data-libs="i5Chart,i5Grid"></SCRIPT>
</HEAD>
<BODY>


</BODY>
</HTML>


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Dec 05, 2017 at 12:17 PM

    Hello Yinka,

    It might help if you were Loading SAPUI5 from a Content Delivery Network (CDN).

    Best regards

    Frank

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 05, 2017 at 03:05 PM

    Hello Yinka,

    The ui5 and MII js libraries should be getting cached by the browser after the initial load. Are you running your profile/dev tools with the browser cache disabled? If so try loading the page with the cache enabled a few times and see if there is an improvement.

    Regards,
    Christian

    Add comment
    10|10000 characters needed characters exceeded