XF 1.2 My site is too slow

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/

Should Fix:
Eliminate render-blocking JavaScript and CSS in above-the-fold content
Your page has 14 blocking script resources and 8 blocking CSS resources. This causes a delay in rendering your page.
None of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML.

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?

 
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?


Your forum page is loading slow,

other pages are loading faster for me
 
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
 
Your forum page is loading slow,

other pages are loading faster for me

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
 
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
 
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
Page Speed Score: 93/100

But the Yslow test is fairly low (grade F)
Grade F on Make fewer HTTP requests
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.

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:
Back
Top Bottom