Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Social Buttons and Comments Impact on Page Speed and Filesize

         

Spyder_Cat

9:04 am on Jun 9, 2014 (gmt 0)

10+ Year Member



I am unsure if I should include page features such as a comments section and social buttons to some of my pages. I fear that due to the increase in http requests and overall page file size these features bring, it will be detrimental to my Google rankings.

My site is mostly hand coded. This helps me to keep the pages lean. I use PHP includes for the <head>,header and footer sections and hand code the content.

I have recently begun rewriting pages on my 10 year old site which have slipped in the Google SERPs over the last few yeas.

Adding social buttons & a comments section (using Disqus) makes a typical page about 500k (compressed). Without them a typical page (with one or two optimised images) is only 40 to 70k (compressed).

Social buttons and a comments section are both features which could enhance many of my pages.

However, I am now reluctant to add them due to the increase in page file size.

On the one hand, even with these features enabled, Google Page Speed Insights gives me a green light for both mobile and desktop performance (typically mid 90%).

However, if I keep the social button and comments features, my overall page file size is mostly much greater than my top ten competitors for a phrase I am targeting (we are information only websites - no ecommerce).

I have worked hard to create a responsive site with good page speed performance and it seems that Google has placed great importance on page speed to developers over the years.

I don't want to set back this work with above average file size pages, if file size (at this level - 500k compressed) has a weighting.

What to do?

Rasputin

11:09 am on Jun 9, 2014 (gmt 0)

10+ Year Member



Social buttons can also be added directly using small images and a direct link, which I have done to avoid the large share scripts. Use a php include to create the url for each page, the link formats can be found easily if you search.

Of course you then don't get the stats from the 'share' script sites, and can't show 'number of likes' etc but IMO giving people the ability to share is much more important than showing how many did share...

Spyder_Cat

11:24 am on Jun 9, 2014 (gmt 0)

10+ Year Member



Does the direct link option still work with Facebook?

netmeg

12:39 pm on Jun 9, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



For me it's a question of what's best for the users.

If all your other ducks are in a row, these things may slow your page down a bit, but they shouldn't tank your rankings.

I have comments and I have social buttons, and my rankings are great, across multiple sites. I've spent years tweaking and tuning to get them right (and they're still not as fast as I'd like, but life is imperfect) My users really WANT to comment, and I get a gazillion shares so presumably they want to do that too.

I absolutely believe making the users happy and providing *useful* content is much more important than Google's near impossible standards for page speed. And judging from the number of sites with social sharing and comments out there, I'm not the only one.

So research the best comment platforms and social button implementations, and leave it at that. If your users use them, it's a win.

nomis5

10:57 pm on Jun 9, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I've dropped (nearly) all the social buttons from my sites.

As as far as comments are concerned, I've kept and enhanced that part of it.

Yes people like clicking on share buttons but if they are not there my opinion is that they just aren't a factor. But people love leaving comments and more importantly others love to read them. Comments are key to my websites however trite and biased they may be.

Swanny007

2:34 am on Jun 10, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



For simple sharing buttons I highly recommend share42. I used to use AddThis but there was too much bloat, not to mention they sell your user data for profit.

I setup a forum area for people to interact so it's separate, the static HTML pages have the sharing buttons though.

erikko

4:37 am on Jun 10, 2014 (gmt 0)

10+ Year Member



Social buttons are great if it is working and not bloated to see at. It somehow makes content of the website easier to share to your visitor's social account.

londrum

10:49 am on Jun 10, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month




For simple sharing buttons I highly recommend share42. I used to use AddThis but there was too much bloat

snap! That is exactly what happened with me as well. I knocked a bit off my page speed when i switched over. The only downside is that you dont get the stats,

Swanny007

6:38 pm on Jun 10, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



The only downside is that you dont get the stats

That's true. It's a trade-off, I can live with that, I'm pretty sure people are still clicking even though I can't tell.

fumanchu

12:08 pm on Jun 11, 2014 (gmt 0)

10+ Year Member



I hate social media buttons, I removed them all quite a while ago. Good riddance, they just clutter up the page and slow down page loads. Plus none of those social media sites is paying me to have their brand logos on my pages, so why should I bother? The traffic was never worth the bother.

And don't forget that many browsers have social sharing built-in or have extensions for them. So I don't think it's really necessary to have all that junk all over the pages.

If you have comments on your pages, try to avoid things like Disqus, which will slow down your page loads. Use whatever built-in commenting feature you have, and get rid of all graphic avatars and that sort of thing as it slows down page load too. Getting rid of the URL in the user info field can also cut down on spam.