Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Social widgets on websites that don’t harm performance? Re: Social widgets on websites that don’t harm performance?

#126691
TreeRoot
Participant

Implement the social icons asynchronously so that it doesn’t affect load times.

INDEPENDENT JAVASCRIPT:

http://socialitejs.com/
https://github.com/dbushell/Socialite/
– This loads the stuff async, and if you visit the page you’ll see it probably accomplishes what you’re looking for. It even has lazy loading capabilities. Note: be mindful of its lack of updates (3 months since the last one).

http://addthis.com
– I’m sure you’ve heard of AddThis. It provides a bunch of share networks and analytics, so you can see what’s being shared, when. Downside, is that it doesn’t load async by default. For async, you’ll have to implement this optimized version:
http://support.addthis.com/customer/portal/articles/381221-optimizing-addthis-performance

WORDPRESS PLUGINS:

http://wordpress.org/extend/plugins/wpsocialite/
– Same as the Socialite javascript above, but wrapped in a WordPress plugin. This plugin doesn’t appear to be wholly dependent on the slow updates of the official Socialite JavaScript it’s based on. It seems to attempt corrections on its own–sort of like a forked version.

http://wordpress.org/extend/plugins/rtsocial/
– rtsocial is different in that it uses a giant sprite for its images and doesn’t download any images from the social networks (ie, facebook, twitter). It just grabs the share stats and rebuilds the the structure from scratch. It’s a pretty sophisticated way of doing things. You’ll want to check out how it deals with facebook likes vs shares. I think they’ve implemented one over the other, so be mindful of that.

http://wordpress.org/extend/plugins/async-social-sharing/
– This is a run-of-the-mill social loader. It loads the official javascript from the networks, and downloads the graphics from the networks. It’s async, but still more header calls after the fact.

I’ve used all of them, but prefer async AddThis. I like having analytics share data. If you’re using WordPress, rtSocial may be the fastest as it downloads far less resources and uses an image sprite which cuts down on header requests considerably.

They all work pretty well.

NOTABLE MENTION:

http://wordpress.org/extend/plugins/flare/
– I don’t know if this is async or not. It doesn’t mention it, as far I remember when I tested it out. But it’s a very slick social sharing plugin. One of the nicest I’ve seen on the WordPress Plugin site.