Topic Closed
Tonto
26 Posts

Hi

First of all congratulations for all the great new features in 4.0.  I have one issue though. Pages appear to reload in chrome and Firefox. What I mean by that is when I go to a new page via the menu the whole page disappears, like goes blank (white background) for a few seconds and then the new page appears. I checked it out on two computers and got the same issue.

I updated from 3.6 but reverted back because of it.

Any ideas why this may be happening?

 

Kind Regards

Ian

 

6 years ago#6371

Josh S.
2K Posts
266K Downloads
16 Themes
18 Plugins
I'm not entirely sure why that would happen. It does sound like a rendering issue, I would start by looking for any problems with the markup by validating the html of your site.
6 years ago#6372

Tonto
26 Posts

Hi Josh

Thank you for your reply.  There were a few  validation errors. I fixed them then reinstalled 4.0  but still getting page load blank issue.

Opera fine

IE8 fine (remarkably)

Firefox, Chrome and Safari = page load issue.

 

gpeasy 3.6 is fine no issue

 

If you are not getting same issues then it must be something my end. I do have a painfully slow connection 0.6mb but I would think that cache would take care of previously loaded images.

I have left it on 4.0 I wonder if you are getting same issue with it. I know you are very busy so understand if you don't have the time. ( ichandler.co.uk )

Any other thoughts on why this may be happening would be most appreciated.

 

Kind Regards

Ian

 

 

6 years ago#6380

Stano
483 Posts
16.6K Downloads
1 Themes
1 Plugins
Hello Ian, for me your pages work good in FF22. Since it's browser specific issue, I'd try to clean the browser's cache with Ctrl+Shift+Del. Sometimes it can help.
Edited: 6 years ago#6381

jogai
264 Posts
Try to disable hardware rendering in Firefox. If that helped i'm curious what kind of graphic card you have.
6 years ago#6382

Tonto
26 Posts

Hi Stano, Thank you. It's a relief to know that it's fine on your machine using FF22. Thanks for the good advice about clearing browser cache, it was one of the steps I took before flagging the issue in this forum.

 

6 years ago#6385

Tonto
26 Posts

Hi jogai. Thank you for your response. I tried disabling hardware acceleration.Unfortunately it didn't work. Graphic card is an old trusty NVIDIA Geforce 7300se.

 

 

6 years ago#6386

Stano
483 Posts
16.6K Downloads
1 Themes
1 Plugins

Switching between your pages works well for me in Firefox - no white screen appears. Now tested it also in Chrome and there white screen flashes but only for eyewink, cca 0.2 of second. My notebook is Win7 2,3GHz and 3GB RAM and Intel Shared GPU. Maybe on slower computers it takes longer time? Anyway nice funny photo, makes me remember to "Yes minister" tv series ;-)

Edited: 6 years ago#6387

Tonto
26 Posts

Thank you for the checks Stano,  They are very much appreciated. Although only 0.1 seconds I am concerned about white flashes in chrome. For me its over a second. As you suggest process and connection speed may drastically reduce the issue or even hide it.

The fact is that these page load issues do not exist in gpeasy3.6. Therefore I can only conclude that something in the update has caused this issue. I may well be wrong though....I often am.

 

 

 

6 years ago#6388

Tonto
26 Posts

Hi Stano.

I didn't originally receive all of your message. The funny picture reference. You are right, he does rather look like the PM from 'Yes Minister'.

6 years ago#6389

Stano
483 Posts
16.6K Downloads
1 Themes
1 Plugins

I tested your page again, installed CPUKiller and increased processor usage to 98%, then the white screen appeared in Firefox for about half second.

Then when adblockplus-ed jQuery @ ajax.googleapis.com , then that white screen disappeared. You can try to block jQuery to test, whether it's the cause of slowdown.

I dunno whether it can be removed for pages where jQuery is not used, or somehow customized. Furukoo asked similar question here recently, just it's hardly not easy to determine on which pages the script can be deferred. If it's possible, maybe Josh could consider add some advanced page option, where admin could move the jQuery (the biggest slowdown) to the bottom of page. Something like to optionally add defer="defer" attribute for jQuery script on a partical page ? Then this option would fully depend on admin's circumspectness.

Edited: 6 years ago#6390

Tonto
26 Posts
Hi Stano. You are right. It appears that jQuery is the likely cause. I turned it off in Firefox and hey presto, no page load issue. Strangely though blocking JavaScript in Chrome didn't make any difference. The stackoverfolw link you provided shed some interesting light on the subject. The problem is that no one really seemed to agree where best to place jQuery...at the footer or header. And when you throw in 'edge' cases where jQuery modifies the DOM it all becomes a bit messy. The fact is that jQuery developers should have the grace and manners to allow html to load first, not just barge it out of the way. After all it was first in the queue. I don't now how josh could fix this. There seems to be too many variables. Perhaps browsers need to employ a 'wait your turn JavaScript' protocol. Just an idea... could config have a 'wait your turn JavaScript' i.e load last option? I can almost here people quietly laughing to themselves at my ignorance. lol
6 years ago#6391

Stano
483 Posts
16.6K Downloads
1 Themes
1 Plugins

You're right Ian, it's barely possible to move it down. I don't know whether there exist some changes between gpEasy 3.6 and 4 that could affect jQuery loading. Thought also about trying to test your site with Firefox Portable = with no plugins installed, but probably won't speed it much up.

6 years ago#6392

Tonto
26 Posts
Don't worry about doing that portable test Stano. And once again thank you for your help. I think for now I will just have to stick with gpeasy3.6.
6 years ago#6393

Josh S.
2K Posts
266K Downloads
16 Themes
18 Plugins

Tonto, I just looked at your site again and noticed that jquery is included twice

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript" charset="utf-8"></script>

and

<script type="text/javascript" src="/include/thirdparty/js/jquery.js"></script>

 

6 years ago#6394

Stano
483 Posts
16.6K Downloads
1 Themes
1 Plugins

Josh, you rock! We must have been blind. ;-) Thank you!

Edited: 6 years ago#6397

Tonto
26 Posts
Josh. Thank you so very much. You do indeed.... rock. As for me, well, a complete idiot comes to mind.
Edited: 6 years ago#6398

Josh S.
2K Posts
266K Downloads
16 Themes
18 Plugins

Thanks, but the heavy lifting was already done by the two of you figuring out that jQuery was the culprit.

Tonto, I'm still seeing two instances of jquery in you page. I'm assuming one of them is coded in the template.php file of your theme. I would recommend taking that one out since gpEasy will add one. Then, move the menu link script below the gpOutput::GetHead() call.

<?php
gpOutput::GetHead();
?>
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {  
    // All links in main menu div
    var menu_links = $('div[id= plop] a');
    // On mouse hover
    menu_links.hover(
        // In: Store and remove title
        function() {  
            old_title = $(this).attr('title');      
            $(this).attr('title','');
        },
        // Out: Replace title
        function() {  
            $(this).attr('title', old_title);  
        }  
    );  
});  
</script>

6 years ago#6399

Tonto
26 Posts
Thank you Josh.  Of course... gpEasy already has the jQuery installed and ready to go. Doh
Edited: 6 years ago#6400

Topic Closed

 

News

Typesetter 5.1
8/12/2017

Typesetter 5.0.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

Over 8 Times Faster Than Wordpress
5/3/2016

We've known for a long time that Typesetter is fast. It's something we take pride ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Luzern (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Website * ...

Find out more about our Provider Spotlight

Log In

  Register