Forums / General Questions / Why does my page "flash" between clicks?

Why does my page "flash" between clicks?

Locked

Views: 818

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
6 Aug 2009, 1:04 AM
#1
jgroleau avatar

jgroleau

New Zenner

Join Date:
Jul 2009
Posts:
11
Plugin Contributions:
0

Why does my page "flash" between clicks?

I am running ZC version 1.3.8.

I have recently gone from a local install to a live website. I am experiencing display issues that were not seen on the local site. when i click between pages on my live site the middle area flashes the body background, and displays the left sideboxes in the middle of the screen for a second and then corrects itself. I shut pictures off in the browser but still the same. Works the same in Firefox or IE8. Not sure if I did something during the live install or if it is related to a slow server or internet connection. Has anybody else experienced this problem and found a solution. Is there a way to delay the screen redraw until the page is loaded. Any help would be appreciated. the linkto see the problem is http://www.petcanteena.com/zc/index.php.

6 Aug 2009, 2:08 AM
#2
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,305
Plugin Contributions:
39

Re: Why does my page "flash" between clicks?

No... I think is exactly the same you just now have the internet between those clicks instead of being on your network/machine.

~Melanie

6 Aug 2009, 12:15 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Why does my page "flash" between clicks?

Also, the file sizes of your images is too large. Optimizing those (should be < 10K in almost all cases, < 5K is better) will increase the page load speed.

6 Aug 2009, 12:17 PM
#4
jgroleau avatar

jgroleau

New Zenner

Join Date:
Jul 2009
Posts:
11
Plugin Contributions:
0

Re: Why does my page "flash" between clicks?

Hi

Thanks for the reply. I figured that was the case. There must be a way around it. I do not notice it on other sites. Is there a way to disable the redraw until the page (less images) is loaded locally?

6 Aug 2009, 5:56 PM
#5
janissaire avatar

janissaire

Zen Follower

Join Date:
Sep 2008
Location:
Toronto, Ontario, Canada
Posts:
474
Plugin Contributions:
0

Re: Why does my page "flash" between clicks?

This isn't a real answer - maybe your pc is taking your picture:D

After looking at computer code for a while - I think I'm going crazy but the voice in my head assures me that I'm not! http://www.jecphotography.com/mystore

6 Aug 2009, 6:16 PM
#6
jgroleau avatar

jgroleau

New Zenner

Join Date:
Jul 2009
Posts:
11
Plugin Contributions:
0

Re: Why does my page "flash" between clicks?

stevesh

I tried running with pictures turned off in IE8 and I still get the flash. If I am not mistaken the images do not load with the pictures shut off. So I do not think it is the root of the problem. From what I am seeing the column one, column two, and column three backgrounds erase so I see the orange body background. The column backgrounds redraw to white. The left sideboxes redraw in the center for a second. Then the center column redraws and the page straightens out. Does anyone know if the server side streams things as it processes or does it wait until processing is done before it streams the info back to the client. Is there anyway to force the server to process everything and then send the info to the client? Or is there a way to wait on the client side until the page is loaded before displaying.

I do notice that the images do draw slow after the page loads so I will work on getting the sizes down. Thanks for catching that.

6 Aug 2009, 6:23 PM
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Why does my page "flash" between clicks?

I think there is a way to delay page load until all images, etc. are downloaded, but it's stuck way back in my HTML memory.

That would be a band-aid, though, not a cure. I think it's a server thing. Who's your host?

Try temporarily enabling **Admin - Configuration - Logging - Display the Page Parse Time ** Maybe we can see where it's coming from.

6 Aug 2009, 7:25 PM
#8
jgroleau avatar

jgroleau

New Zenner

Join Date:
Jul 2009
Posts:
11
Plugin Contributions:
0

Re: Why does my page "flash" between clicks?

godaddy is the host server. I will try and turn on the logging you suggested. maybe that will tell where the problem comes from.

6 Aug 2009, 8:12 PM
#9
jgroleau avatar

jgroleau

New Zenner

Join Date:
Jul 2009
Posts:
11
Plugin Contributions:
0

Re: Why does my page "flash" between clicks?

I turned Display the Parse Time on and here is the data i collected. I also took times on my local server. The query times are similar between local and live. The parse times are higher on the local. On the local side it appears that the display stays static and is updated at once. On the live side the display is updated as the page is being parsed. Not sure what it means. Can you help me?

Live Times

PT #Q QT
.541 520 .2615
.845 935 .4580
.599 677 .3356
.657 677 .3312
.720 587 .3197
1.737 512 .2276
1.249 511 .4534

Local Times

2.290 935 .6498
2.001 860 .3605
1.482 934 .4281
1.077 520 .3759
1.827 937 .4365
1.097 610 .3696