Facebook Boosts The Speed Of The Activity Plugin

Facebook is making its plugins work even faster. Recently, the social network rebuilt the recommendations plugin, and now it's the activity plugin that will get the speed boost. This will make it easier for users to indicate through Facebook that they've read something, watched something, or any other kind of action verb.

Facebook is making its plugins work even faster. Recently, the social network rebuilt the recommendations plugin, and now it’s the activity plugin that will get the speed boost. This will make it easier for users to indicate through Facebook that they’ve read something, watched something, or any other kind of action verb.

Facebook noted that overall, the plugin is five times faster (257 kilobit total payload before versus 48K after) and makes fewer HTTP requests (five now versus 18 before).

The plugin also loads nearly twice as fast (0.6 seconds versus 1.14 seconds before), and the initial painting starts in nearly one-half the time (0.38 seconds versus 0.68 seconds).

Facebook announced this news in a blog post:

These performance optimizations were mainly about static resources: rewriting and reducing the sizes of JavaScript and CSS components, untangling dependencies, and improving packaging. Also, all of the CSS is now in-line to help with initial rendering times. Thanks to the reduced component sizes, even though all of the CSS is now in the HTML, the total HTML payload remains flat at 5K before and after.

Image courtesy of Shutterstock.