1. 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

Discussion in 'Troubleshooting and Problems' started by MattW, Jan 27, 2014.

  1. MattW

    MattW Well-Known Member

    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


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

    Mike XenForo Developer Staff Member

    FWIW, I'm not seeing a huge delay like that when I load it.
  3. MattW

    MattW Well-Known Member

    Hmmm, I wonder if it's something with my browser on the laptop at work? I'll try another PC and see what it's like.
  4. CyclingTribe

    CyclingTribe Well-Known Member

    Here's what I get from Firebug:


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


    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 likes this.
  5. MattW

    MattW Well-Known Member

    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 ;))
    CyclingTribe likes this.
  6. CyclingTribe

    CyclingTribe Well-Known Member

    Glad you've managed to pin it down Matt.

    <grumble> fuffing computers </grumble>. (y)
    MattW likes this.
  7. MattW

    MattW Well-Known Member

    Should be loading quicker now for guests as bdcache is re-enabled, as the forum home is a static html page

  8. MattW

    MattW Well-Known Member

    Have actually figured what is was with Chrome.

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


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

    CyclingTribe Well-Known Member

    Sounds like the perfect definition of irony ... :ROFLMAO:
    MattW likes this.
  10. MattW

    MattW Well-Known Member

    My thoughts exactly. If you look at the screenshot from the original post, everything loaded after the ui sprite is the stuff that add-on is inserting into the page.

Share This Page