Facebook rewrites Like Box to load faster

Facebook today announced a new version of its Like Box plugin that has been rewritten to load two to four times faster than the previous implementation.

like-boxThe Like Box is a plugin that anyone can add to their website to attract and gain Likes for their Facebook page. Visitors can see how many users are connected to the page and which of their friends Like it. They can read recent posts from the page and Like the page with one click, without needing to leave the site they’re on.

Facebook made several changes to the plugin to help it load faster, including smaller components, smaller CSS and JavaScript size and better packaging. There are also changes that improve perceived performance. Inline CSS and non-blocking JavaScript deliver the first impression to the user faster, so even though more needs to be loaded after that, it feels even faster because users start to see some of the plugin right away.

At its most basic implementation, the Like Box now loads in 0.5 seconds, as opposed to 2.3 seconds. The perceived performance is better because the initial impression — also known as “first paint” — is now at 0.3 seconds, as opposed to 2.1 seconds.

Facebook’s first iteration of the Like Box was called Fan Box and launched in 2009.

Most websites will not have to make any changes to run the new version of the plugin. However, if they are still using the deprecated Fan Box (fb:fan or plugins/fan.php), they should switch to the Like Box (fb:likebox or plugins/likebox.php). More information about the plugin and tools to create one for your page is available here.

Creative Social Branding

Mediabistro Course

Creative Social Branding

Starting November 24, learn how to create a social buzz for your brand! You’ll learn how to engage with audiences on social platforms, identify and engage with current trends and influencers, and build an excellent social strategy to amplify your numbers and rate engagement. Register now!

 

Leave a Reply

Get the latest news in your inbox
interested in advertising with inside facebook?

Social Media Jobs
of the Day

Social Media Strategist

A Luxury Real Estate Developer
New York, NY

Newswire Editor

PR.com
New York City / Long Island, NY

Senior Social Media Brand Manager-Los Angeles Area

Brigade Marketing
Los Angeles, CA

Featured Company

Join leading companies like this one and recruit from the nation's top media job seekers on the Mediabistro Job Board. Every job post comes with our satisfaction guarantee. Learn More
 

Our Sponsors

Mediabistro A division of Prometheus Global Media home | site map | advertising/sponsorships | careers | contact us | help courses | browse jobs | freelancers | content | member benefits | reprints & permissions terms of use | privacy policy Copyright © 2014 Mediabistro Inc. call (212) 389-2000 or email us