PDA

View Full Version : How stop white "Blink" between pages loading?


Skylark
05-01-2013, 12:15 PM
I seem to have somehow introduced a white "blink" between the loading of pages. I've spent about an hour trying to figure how I've caused it, but can't work it out. Can anyone advise?

If you open

http://davidcade.net/index.html

and then, after that pages has fully loaded, click on one of the links along the top of the page (like "Reviews", "Roles", "Portrait", etc),

then BEFORE that next page loads there's a moment of white screen!

However, once that initial white "blink" has occurred, the pages load seamlessly thereafter.

Can anyone tell me how to rectify that initial problem?

Many thanks.

edbr
05-02-2013, 09:47 AM
just loading until it has cached , then its faster tol oad

Skylark
05-02-2013, 10:38 AM
just loading until it has cached , then its faster tol oad

Thanks for the reply, Edbr! Most appreciated.

I know that when the homepage (index.html) is first loaded it takes a few moments, like the first page of many websites. But I thought that after the homepage has been loaded and one moves from it to another page of the same website, there shouldn't be a "white-screen blink" (because all the basic stuff, like the css file has already be downloaded)?

Also, the "blink" occurs even if moving to the "Reviews" page which contains only text (nothing much to download).

And then after having moved to a second page, the problem doesn't occur with any other page.

I admit I have very little idea of how pages load, but is it at all possible that something is failing to download with that initial page (i.e. along with index.html)?

Another thought: isn't the page you're on supposed to stay visible on-screen UNTIL the new page has downloaded?

I'm miffed with this white blink largely because I know it wasn't happening several months ago with exactly the same site. Whether or not a few minor changes I made to the site two days ago have caused it, I don't know.

Many thanks.

domedia
05-06-2013, 07:42 PM
The page will display as soon as it can. Your browser does not wait until everything is loaded.

Some of your pages is white a split second, some don't. I really don't think anyone cares (or notices). I know it's different for you since you made it, but I really think you're making this into an issue, but it's not. :-)

Skylark
05-06-2013, 08:17 PM
Thank very much for the reply, Domedia.

Your opinion has driven me to see if the same thing occurs on a selection of other websites - different sites, in different places. And I've found that you're right, there certainly are professional sites in existence where a momentary screen of white occurs after leaving the page first loaded. On the other hand, I've also found there are sites where the white just doesn't happen.

For example, I'd love to know what technique guardian.co.uk (http://www.guardian.co.uk/) uses, that metoffice.gov.uk (http://www.metoffice.gov.uk) doesn't.

There must be something happening, surely, to produce that seamless flow.

I've googled this issue, and found a lot of Android and iPhone developers have been irked by something similar and have found a (very complex) way of dealing with it. But haven't found any PC web-designers discussing it. But then I haven't done an enormous amount of googling.

Best.
D.

Skylark
05-08-2013, 10:51 AM
Yesterday I had the opportunity of looking at http://www.davidcade.net
on a Smartphone using Android, and that blank white blink of several seconds didn't occur when moving away from the home-page! So what does Android do that Firefox in Windows 7 doesn't, I wonder?