Page 1 of 1

App taking too long to load

Posted: Sat Jun 08, 2013 2:45 am
by Rahul Chidgopkar

Hi,

The apps that I have created are taking long (about 10 secs) to load. During that time, I get a blank white screen like this and it feels like the phone has frozen.
Image

This also happens when I build the app and install the apk on my phone. How can I speed up the app launch?


App taking too long to load

Posted: Sat Jun 08, 2013 2:57 am
by Igor

Hello,

Do you have any events on screen load?
Is the any errors in browser console?


App taking too long to load

Posted: Sat Jun 08, 2013 3:08 am
by Rahul Chidgopkar

No, I don't have. I have already shared one app called Monitorly Lite with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a. You can look at it to investigate.

I actually have 2 issues:

  1. Blank screen for 10 secs on load.

  2. While using my app on the phone, after the 10 secs of blank screen, the start screen appears with the ajax spinner for about 5 secs. I don't know why the spinner is appearing.

    The page has one image and 2 buttons. I have only this code on my Load event:
    Appery('splashImage').css('margin', 'auto');
    Appery('splashImage').css('display', 'block');

    Thanks,
    Rahul.


App taking too long to load

Posted: Sat Jun 08, 2013 3:14 am
by Rahul Chidgopkar

I just noticed this in my console. I have no idea what it means or if it's a problem:

Image


App taking too long to load

Posted: Sat Jun 08, 2013 3:34 am
by Igor

We'll test and let you know.


App taking too long to load

Posted: Mon Jun 10, 2013 10:43 am
by Kateryna Grynko

Hi Rahul!
You need profiling. You can find how to do this here: https://developers.google.com/chrome-...