• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Page Load delay

MattW

Well-known member
#1
I'm trying to figure what is causing a 0.5 second delay on my forum home page generation.

I'm seeing xenforo.js being called and loading xenforo-ui-sprite.png which it adding an extra 0.5 seconds to the page load

upload_2014-1-27_15-46-13.png

Does anyone have any suggestions as to how I can try and track down what is initiating this?
 

CyclingTribe

Well-known member
#4
Here's what I get from Firebug:

upload_2014-1-27_16-15-25.png

The longest wait time appears to be the thumbnails for the gallery sidebar (further up the waterfall) - but they're not drastic:

upload_2014-1-27_16-16-2.png

If I visit one of the forums and then go back to the home page (cached) - the longest wait time to load anything is 164ms for the skimlinks.js

Even on a forum page, all your local stuff seems to be loading quickly and the only lags are the usual third-party resources such as Skimlinks and Adsense/DoubleClick.

Caching seems to be on and working because when I first request a thread the local images are taking up to 430ms, but on refresh they're down to 20+ms.

Knowing you you'll have optimised it as best you can already, but I don't think you've got anything to worry about here. The numbers seem okay and it visually loads very quickly for me, here in the UK (your target audience at the moment I presume?).

Gets a good score with WebPageTest too (Firefox): http://www.webpagetest.org/result/140127_QB_MFZ/ - (Chrome): http://www.webpagetest.org/result/140127_21_MTJ/ [NB: All of the static content giving you a D is off-server anyway, so nothing you can do about those! ;)]
 

MattW

Well-known member
#5
Here's what I get from Firebug:

View attachment 65813

The longest wait time appears to be the thumbnails for the gallery sidebar (further up the waterfall) - but they're not drastic:

View attachment 65814

If I visit one of the forums and then go back to the home page (cached) - the longest wait time to load anything is 164ms for the skimlinks.js

Even on a forum page, all your local stuff seems to be loading quickly and the only lags are the usual third-party resources such as Skimlinks and Adsense/DoubleClick.

Caching seems to be on and working because when I first request a thread the local images are taking up to 430ms, but on refresh they're down to 20+ms.

Knowing you you'll have optimised it as best you can already, but I don't think you've got anything to worry about here. The numbers seem okay and it visually loads very quickly for me, here in the UK (your target audience at the moment I presume?).

Gets a good score with WebPageTest too (Firefox): http://www.webpagetest.org/result/140127_QB_MFZ/ - (Chrome): http://www.webpagetest.org/result/140127_21_MTJ/ [NB: All of the static content giving you a D is off-server anyway, so nothing you can do about those! ;)]
Thanks for that Shaun (y)

I've been trying all sorts my end, and I now suspect it's Chrome on my work laptop which is slowing down for some reason. I've disabled everything on my site, and it was still happening in Chrome.

I've just installed Waterfox and re-enabled the add-ons, and it's stupidly quick in that (as admin, I have no adsense or skimlinks ;))
 

MattW

Well-known member
#8
Have actually figured what is was with Chrome.

It's the Google Page Speed Insight add-on that I had installed.

upload_2014-1-27_16-59-46.png

Just over 800ms to load the whole page now with that disabled :mad: