GTMetrix and JSPerf: avoid AddThis and GCSE for fast web pages - ΩJr. Software Articles and Products

This information lives on a web page hosted at the following web address: 'https://omegajunior.globat.com/code/'.

Recently we stumbled upon the great services provided by GTMetrix and JSPerf. Conclusion: implement your own Social Media buttons on your web site, and have Google CSE show its search results on a new page, to speed up the load times of your webpage.

A.E.Veltstra
Friday, November 18, 2011

Is your web page fast?

Do you even know?

Did you measure it?

GTMetrix combines the Google Chrome PageSpeed and the Yahoo YSlow check-ups into a free, on-line service. This is good for people using Apple's iPad, which does not allow installation of such extensions.

If you need help optimizing your site, the GT people will gladly offer their paid services. Of course you can also contact us.

JSPerf is another free, on-line service that lets you perform benchmark tests on snippets of Javascript coding. You can test other people's coding, and provide your own.

Wanted to know whether a particular kind of statement or loop is faster than a different one? Want to let anyone test this on their particular browser? Then JSPerf is the right service for you.

Combining both services, we checked our own homepage html5 redo. We found that adding social media sharing services via AddThis added no less than 215KB in poorly distributed data.

Having the Google Custom Search Engine display its search results on the home page adds another 300KB of poorly performing and poorly distributed data. Clearly, both AddThis and the GCSE are built with compatibility in mind rather than performance. Therefore, as long as AddThis and GCSE keep performing and distributing poorly, we advise to avoid both on home pages.

Instead of AddThis you need to have your own Social Media buttons implemented: both for contacting you and for sharing your articles. And implement the GCSE on its own page, where the performance hit is expected. This is a trivial "Two Page" setting with the renewed CSE "Look and Feel" control panel. All you need to do is provide your own search box in HTML.

Want a fast web page? Measure it, and cut out the rotten parts.


(The ΩJr.Net is not affiliated with any of the companies mentioned in this article. We merely use their services.)

Need problem solving?

Talk to me. Let's meet for coffee or over lunch. Mail me at “omegajunior at protonmail dot com”.