Page 1 of 1

white screen between page loads

Posted: Mon Nov 19, 2012 8:41 pm
by Eric5020946

when going from one page to the other using multipage layout I can see white screen - since it is a browsing webpages it looks similar to what you see in the browser when website loads (not ajax loader)

nothing really bad but I was wondering if there are any settings that allow to change at least color of this white background
since it happens betwen page loads I would assume CSS won;t help

I shortened this white-page time by moving INVOKE SERVICE to PAGE SHOW from LOAD, any other advices?

thoughts?


white screen between page loads

Posted: Mon Nov 19, 2012 9:20 pm
by maxkatz

There shouldn't be a white page, unless you are doing a full page refresh. By default, navigation uses Ajax navigation.


white screen between page loads

Posted: Mon Nov 19, 2012 9:24 pm
by Eric5020946

correct, I use full page refresh as this is the only way to prevent caching
not sure if you noticed but when page (populated based on REST) is cached it doesn't call REST anymore...

it is either tiggzi bug or JQM thing..
I can drop full page refresh just not sure how to ensure that page will have fresh content from REST on each visit..?


white screen between page loads

Posted: Mon Nov 19, 2012 9:26 pm
by maxkatz

It's a JQM or a browser issue -- as the final app is running in the browser. What event do you use?


white screen between page loads

Posted: Mon Nov 19, 2012 9:28 pm
by Eric5020946

I have tested with PAGE SHOW only as it happens after LOAD, didn't help..
(I have native app for iOS)

any other event that fires when page is in DOM already so I can populate empty hidden element in the DOM? how about device ready, what is the order of events?


white screen between page loads

Posted: Mon Nov 19, 2012 9:32 pm
by maxkatz

I think deviceready is a PhoneGap event...


white screen between page loads

Posted: Mon Nov 19, 2012 9:36 pm
by Eric5020946

OK

any idea why page gets cached and ignores REST call attached to PAGES SHOW/LOAD events?


white screen between page loads

Posted: Tue Nov 20, 2012 1:20 am
by Eric5020946

looks like this is not an issue anymore, must have been fixed however I turned off full page refresh and still see white screen between pages