Last week we launched a lighter and faster Activity social plugin that we rewrote from the ground up. This is yet another plugin relaunched with page-loading performance in mind, following our recent Send, Like, Likebox, Login, Facepile, and Recommendations plugin optimizations.
Here’s a before/after comparison done with WebPageTest:
- Before: http://www.webpagetest.org/result/130522_WS_19J5/
- After: http://www.webpagetest.org/result/130522_F7_19MQ/
Overall, the plugin is 5x lighter (257K total payload before vs. 48K after) and makes fewer HTTP requests (5 now vs. 18 before).
The plugin loads nearly 2x faster (0.6s vs 1.14s before) and the initial painting starts in nearly half the time (at 0.38s vs. 0.68s before).
For more information on our various plugin optimizations, check out these technical posts:
Stoyan Stefanov is a software engineer on the platform infrastructure team.