Posted by mrpauldriver on October 20, 2012 at 2:50pm
Using Google Analytics I've been looking at page loading speeds by browser and was very surprised to see that Chrome was loading pages very slowly. Most of my sites are built with Omega, so it is a little difficult for me to make a comparison with none Drupal or non-Omega sites.
Can anybody comment on this?
- Firefox 4.67 seconds
- Internet Explorer 4.69 seconds
- Chrome 7.92 seconds
Within Google Analytics, this metric is found under Content > Site Speed > Site Overview

Comments
Caching?
Caching (or lack thereof) may be the culprit; have you turned on JS/CSS optimization, and attempted to use Views caching whenever possible?
I'd look at caching settings
I'd look at caching settings as mentioned. What is your server setup? 4 seconds is pretty long to begin with and close to 8 is an eternity. Something like APC on your server could do wonders.
But why only for Chrome?
Not to negate any of the prior suggestions, but do they address why Chrome is slower than the other browsers?
Chrome is the question
Yes I do have some pretty long winded views and the site is graphically heavy, but aggregation is enabled as is Boost.
The question is why is Chrome performing so much worse than the others.
Does anybody find the same?
@MrPaulDriver
Are you only getting the
Are you only getting the loading speeds from Google Analytics reports or are you actually testing in the browser?
Have you tried the timeline view in the web inspector?
It should give you a waterfall view of stuff that gets loaded. The audit tool may give info on resources that could be pared down too. I suspect it could also be some blocking JS that runs slowly on Chrome for whatever reason, so maybe test with JS off too.
You could also revert back to Bartik to see if that has any effect, Omega adds some JS that could be part of it.
Safari also uses Webkit so compare the loading speed there too.
It might help to give the URL if it is a public site.
I'm only getting that loading
I'm only getting that loading speeds fro Google Analytics and it's a production site so I can't go changing the theme really.
The site is http://www.gadgetfairs.com and it is public so please take a look and let me now your thoughts.
@MrPaulDriver
I'm only getting that loading
I'm only getting that loading speeds fro Google Analytics and it's a production site so I can't go changing the theme really.
The site is http://www.gadgetfairs.com and it is public so please take a look and let me now your thoughts.
@MrPaulDriver
I forgot to add there is a
I forgot to add there is a lot of extensions you can add to see why things are slow in Chrome.
https://chrome.google.com/webstore/category/ext/11-web-development
YSlow, PageSpeed Insights etc.
I'd also turn the extensions off whist you do the initial waterfall.
I took a look at your site
I took a look at your site using chrome. It took about 2 seconds to see the site and about 5 seconds for to fully load. I also had a pop up asking to load cookies. Not sure if that has anything to do with it. I am new to drupal so would love to find out the solution for the future =)
Thanks for taking a look
The cookie popup now applies to all European sites and is based on some silly legislation from Brussels.
@MrPaulDriver
I looked again
The pieces that seems to take the longest are the images that are used in the site - there seem to be quite a few.
I know you're using Adaptive Image; do you have a dev server on which you could test another module? I would suggest testing this one:
Adaptive Image Styles:
http://drupal.org/project/ais
It's almost as if (in plain speak) the server is taking the longest to decide which image(s) it's going to use. So less about the size of the image, more about the evaluation.
It's getting confusing with
It's getting confusing with all these mobile friendly image modules. Adaptive image does rely to Javascript viewport detection which inevitably causes delay.
Does this really explain the slowness with just Chrome though?
@MrPaulDriver
A few variables
Keep in mind that Google only samples so many visits to your site when calculating site speed. This means that it could be sampling 1 Chrome user and 5 FireFox users, and maybe that 1 Chrome user has a really slow connection, a lot of extensions, etc.
See the link below on how to adjust your sample rate in order to get more accurate readings. You can use this in conjunction with the Analytics module BTW
https://developers.google.com/analytics/devguides/collection/gajs/gaTrac...
WebOzy: the web services company
About Me
Is the right answer
Thank you , that's really interesting and I shall get reading up.
Whilst everybody has been really helpful, I feel that your answer comes closest to addressing my question.
@MrPaulDriver
Roles
Glad I could help. The other thing that can throw this number off is your tracking config for roles. If you're tracking a small sample and all your admins are using Chrome (site is always slower for admin), then it will skew your results. I usually solve this by simple not tracking admin users.
WebOzy: the web services company
About Me