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

XF 1.2 My site is too slow

Discussion in 'XenForo Questions and Support' started by Stuart Wright, Dec 18, 2013.

  1. Stuart Wright

    Stuart Wright Well-Known Member

    http://www.avforums.com/forums/
    Mobile: 56/100, Desktop: 76/100

    http://developers.google.com/speed/pagespeed/insights/?url=http://www.avforums.com/forums/

    Now I know I have a lot of addons running as well as the editorial elements, but could Xenforo accommodate extra JS by employing Google's tips? Maybe set up a method to allow developers to specify extra js which gets loaded after the page?

     
    Digital Doctor likes this.
  2. Allan

    Allan Well-Known Member

  3. Stuart Wright

    Stuart Wright Well-Known Member

    I think that's simply because you have less addons.
     
  4. Allan

    Allan Well-Known Member

    29 active
     
  5. tajhay

    tajhay Well-Known Member

  6. davb

    davb Member


    Your forum page is loading slow,

    other pages are loading faster for me
     
  7. CyclingTribe

    CyclingTribe Well-Known Member

    Stuart, have you tried testing it with the default theme enabled (just to rule out any theme-based issues)?

    I concur with it feeling a little slow too (I'm in the UK on a fibre connection) with the layout jumping around a bit as ads load (content pushed down by the header banner and aside by the in-context ads). The fixed page content loads a little slow too, for example: http://www.avforums.com/pages/advertisers/

    If the results are the same then look at the core and add-ons, but if the results differ wildly you may needs to review it with your designer to see if there are any changes that could be made to optimise it some more.

    Cheers,
    Shaun :D
     
  8. davb

    davb Member

    Sorry,

    it was a typo

    Your forum home page is loading slow

    other pages are loading faster for me, but as the previous poster said there is a jumping.

    may be you can use CDN for most of the resources
     
  9. Stuart Wright

    Stuart Wright Well-Known Member

    We use a CDN for most of the resources already. :(
     
  10. cmeinck

    cmeinck Well-Known Member

  11. davb

    davb Member

    I want to emphazise,

    most of the data from webpage speed test sites, will not show how your site is loading in your end. Only you will know how your site performance is.

    You should ask couple users to make a screen recording of how the page loads tthis will really evaluate the performance in visible eyes.

    Stuart,

    I think the problem is not with add ons, but it is with ads loading. May you are using lazy loading.

    Now you have to clone your site in a different domain, and try disabling the ads, addons, other resources separately and make a log of the performances
     
  12. tenants

    tenants Well-Known Member

    Not too bad for me.. (my human experience via the uk)

    Also the Google page speed grade is fairly high (via FF plugin as apose to the site test): 93/100
    But the Yslow test is fairly low (grade F)
    I like looking at sites with pingdom (although not always a realistic view)

    You also have a fairly low result with pingdom
    Page size: 1.0MB
    Load time: 5.89s
    Requests: 140
    Perf. grade: 71/100

    Your real request wont actually be as bad, but pingdom gives a good idea of where the likely offenders (lots of requests) might come from:

    http://tools.pingdom.com/fpt/#!/cgq9QG/http://www.avforums.com/forums/

    You do seem to have a lot of external scripts and css (it would be much better if these were combined, however many seem to come from add-ons, so it wont be easy to do)
    You also have a fair amount of icon files, can you not sprite these?

    I think YSlow pointed this out:
    This page has 28 external Javascript scripts. Try combining them into one.
    This page has 8 external stylesheets. Try combining them into one.
    This page has 21 external background images. Try combining them with CSS sprites.

    << Never look at pingdoom tools as a snapshot realistic result, you really need to run it a few times. Some images might take a second on the 1st attempt, and a millisecond on the next. The key thing about pingdoom is that it tells you how many requests there are (140 which isn't quite true) and where they come from... so you can adjust / sprite / combine css and js where possible to reduce the number of requests (pingdoom can also be inaccurate, downloading images represented in the css which actually doesn't need to be downloaded)

    If you reduce the number of requests (spriting / combining css / JavaScript), you'll reduce un-cached page load time

    just right clicking and searching for ".js" you have 26 mentioned, many of which are loaded in the head (as you've mentioned):
    I agree, I'm sure many of these don't need to be loaded in the head and it does slow things down.

    The site looks okay for speed, but if you want to improve -> Make fewer requests (give those add-on developers a nudge)
     
    Last edited: Dec 18, 2013
  13. Allan

    Allan Well-Known Member

  14. nodle

    nodle Well-Known Member

  15. Digital Doctor

    Digital Doctor Well-Known Member

    Desktop: I find AVF quite peppy ... the low webpagetest scores don't seem to match with the peppy speed I experience on the site.
     
    tenants likes this.
  16. Floren

    Floren Well-Known Member

    tajhay likes this.
  17. Dakis

    Dakis Well-Known Member

Share This Page