Social Button BFFs

Stoyan Stefanov (Facebook)
Web Performance Mission City B4
Average rating: ****.
(4.00, 6 ratings)

Adding social widgets such as the Like button, Twitter or Google+ buttons helps drive traffic and engagement to your web site. But it does come at the price: more HTTP requests, more JavaScript to parse and execute. This session shows how you can minimize the cost of including 3rd party code to your pages.

In this session you’ll learn how to use the asynchronous snippets to load third party widgets, whether or not the 3rd party provider advertises it. You’ll see how you can minimize the code required to include a widget and have their impact on your pages minimal and yielding to your main content.

Photo of Stoyan Stefanov

Stoyan Stefanov


Stoyan Stefanov is a Facebook engineer. Previously at Yahoo, he was the creator of the online image-optimization tool and architect of the YSlow 2.0. performance tool. Stoyan is the author of JavaScript Patterns and Object-Oriented JavaScript, a contributor to Even Faster Web Sites and High-Performance JavaScript, and a frequent speaker at conferences including Velocity, JSConf, Fronteers, and Ajax Experience.

Comments on this page are now closed.


dyn dns
01/01/2013 9:05pm PST

Great tips on social buttons Stoyan Stefanov. Have you heard of automatically tweeting from keynote? Combining email marketing with social media is very important. You can get email deliverability stats with Dyn Dns.


Picture of Stoyan Stefanov
Stoyan Stefanov
07/06/2012 10:43am PDT


Sponsorship Opportunities

For information on exhibition and sponsorship opportunities at the conference, contact Gloria Lombardo at

Media Partner Opportunities

For media partnerships, contact mediapartners@

Press and Media

For media-related inquiries, contact Maureen Jennings at

Contact Us

View a complete list of Velocity contacts