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 a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.