Page 1 of 1

Appery apps running very slow once deployed

Posted: Thu Dec 05, 2013 4:11 pm
by George Van Wormer5962866

We have a few Appery apps that run very quickly on the web browser, but once deployed, they run dreadfully slow. So slow that they are unusable.

As a solution, we tried to make the entire app and content load during the splash screen (app load). This has not helped. It still takes at least 15 seconds to load a page (with a strong wifi signal) on both iOS and Android.

How can this be if we are loading the entire app during the splash screen?


Appery apps running very slow once deployed

Posted: Thu Dec 05, 2013 6:05 pm
by Kateryna Grynko

Hi George,

This can be if you render all pages in one. But let's make sure there are no other issues. Please share the app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and we'll test it.


Appery apps running very slow once deployed

Posted: Thu Dec 05, 2013 6:38 pm
by George Van Wormer5962866

Thank you for the quick response.

I have invited you to LTFSredux. That is the project name.


Appery apps running very slow once deployed

Posted: Thu Dec 05, 2013 8:03 pm
by Kateryna Grynko

George,

Your background image file 'brownbag.png' has a size of 8 MB. Please decrease its size, it's too big for a mobile application.


Appery apps running very slow once deployed

Posted: Thu Dec 05, 2013 8:37 pm
by George Van Wormer5962866

Katya,

I agree. That is huge. I went in and reduced the size to about 1 MB.

I doesn't seem like that sped up the screen loading problem.

It's still taking 15+ seconds to load the "Map" and "List" screens.

Any other ideas?


Appery apps running very slow once deployed

Posted: Thu Dec 05, 2013 9:06 pm
by Kateryna Grynko

George,

We'll take a look..


Appery apps running very slow once deployed

Posted: Thu Dec 05, 2013 9:11 pm
by George Van Wormer5962866

Thank you!


Appery apps running very slow once deployed

Posted: Thu Dec 05, 2013 9:28 pm
by Kateryna Grynko

George,

It seems that it depends on Google response and its size, so the performance can't be improved on our side.


Appery apps running very slow once deployed

Posted: Thu Dec 05, 2013 9:34 pm
by George Van Wormer5962866

But if we're making the call to Google while the app is initially loading in the splash screen, shouldn't the app function quickly once the app opens to the Home Screen?


Appery apps running very slow once deployed

Posted: Fri Dec 06, 2013 1:10 pm
by Maryna Brodina

Hello!
1) If we understand correctly you call preloadLocations 2 times - first time on page Load on HomeScreen screen from HomeScreen_Load function and second time on geolocation1 service success event. There is no need to call preloadLocations on HomeScreen Load event from HomeScreen_Load function if there are no coordinates yet.
2) It's not really good your app depends on speed you recieve coordinates. In geolocation1 service options there is enableHighAccuracy=true (that means you recieve accurate data), but it takes time up to a few minutes. Set enableHighAccuracy=false.