Facebook continued its efforts to boost the speed of its social plugins, with Software Engineer Stoyan Stefanov detailing in a post on his blog how he was able to double the speed of the social network’s recommendations plugin.
Stefanov was also behind the effort in February to boost the performance of Facebook’s like box plugin.
He wrote of the process of speeding up the recommendations plugin:
The total payload change is drastic, mainly due to better packaging, and better JS modules and dependencies.
The initial paint (render start) now happens in one-half the time. And, even better, the initial paint is a complete plugin, except for the images, while before, it was just partial content. This is because CSS is here early and all JS is out of the way (async loaded, also take a peek here).
The fully loaded time is not all that important, since the user has a usable list of recommendations already delivered with the initial paint. But it’s still two times faster, which makes me happy.
Image courtesy of Shutterstock.