As web promotion revolves around advertising and social sharing, it’s essential to use the share buttons on your content. But there are many free offerings that just use too much resource for a simple button. Sharing services like AddtoAny and Sumo have huge overhead in terms of the content they need to load to show clickable 4-5 icons. They do provide more than just clickable icons with analytics and other features but is it a fair compromise to slow down your site for non-essential code. So we decided to code a minimal responsive sharing bar that is also responsive to changing orientation. Test it on an empty page here.
The AddtoAny share code builder is pretty easy to use and get going. However, the “page.js“ file in itself is 23KB when downloaded without considering the images. The “load js” file for Sumo is 137KB without the images. Can you imagine downloading everything you don’t need for 1 or 2 features you do need?