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?
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.
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.
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 ;-)
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.
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.
Tonto, I just looked at your site again and noticed that jquery is included twice
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.
// All links in main menu div
var menu_links = $('div[id= plop] a');
// On mouse hover
// In: Store and remove title
old_title = $(this).attr('title');
// Out: Replace title