Improve mobile device loading times - Mendix Forum

Improve mobile device loading times

3

I am wondering if there is a way to improve load times on mobile devices.  As I understand it, when you log in to a Mendix application, the following files are downloaded immediately:

 

I have a very large application that uses a lot of widgets, so my widget.js file is quite large.  Only a small part of the full application functionality is exposed through the mobile interface, and virtually no widgets are used in the mobile pages.

 

I am assuming that the mobile client also downloads the full widget.js file, and was wondering if it might be possible to only download those widgets actually used in the mobile part of the application.  If we were able to flag which widgets were used for each device type, would it be possible to create different versions of the widget.js file for each device type, and only download the appropriate one?  This might improve loading times.

asked
0 answers