cancel
Showing results for 
Search instead for 
Did you mean: 

Is it worth creating Component-preload.js for Fiori Extension Application ?

Former Member
0 Kudos

Hi Gents,

Upon reading through the entire discussion on component-preload.js for improving the performance. i was wondering if i can also implement it for my recently developed Fiori Extension Projects.

My Doubts are:

1. Since Std Fiori does have Component-preload.js file in app directory, is it best practise to create Component-preload.js file for Extension Project also?

2. If answer to first question is yes, importing the extension project in File system and setting up grunt to generate the Component-preload.js and copy it back to the original project directory would be the approach right?

please address these points, I'm really looking forward to improve the performance

Thanks in Advance!

please let me know for any further clarifications.

Thanks & Regards

Ravikant

Accepted Solutions (1)

Accepted Solutions (1)

kammaje_cis
Active Contributor
0 Kudos

Preload file would definitely improve the performance.

You can easily create a preload file using WebIDE.

Right click on the project, -> Project Settings -> Project Types -> check SAPUI5 Client Build.

This will create/update preload file, whenever you deploy the app.

Former Member
0 Kudos

Hi Krishna,

Thank you for your response.

Just checked it , this option is only there on Cloud WebIde. Its not present in Local Trail WebIde. Do i need to update my Locat WebIde to use this feature or its not possible to create when you are using local trail webide.

Regards

Ravikant

kammaje_cis
Active Contributor
0 Kudos

This option came recently. Maybe upgrading your local webide might help.

Former Member
0 Kudos

Thanks so much !

Will try upgrading it

Regards,

Ravikant

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Folks,

Any input on this ?

Regards,

Ravikant