Tony Edwards
To share or not to share

To share or not to share

- 2 mins

At the moment of writing, this post would have share buttons immediately after the main body of text, as you can see in the image above.

They’re implemented in a non creepy, privacy mindful way and provide and quick way to share content. Looking back at the analytics from the previous iteration of the site, I’m not sure they were used a whole lot, so their worth is debatable.

The buttons also raise a couple of flags on Google’s Page Speed Insights dashboard, acting as the main barrier to getting the perfect score.

Google Page Speed Insights Start Score

One related to the crawlability of the social share links, and another to do with the contrast of the button text and the background.

I’d been pondering whether to keep these links as part of the sites recent rejig. This was an excuse to stop and think about them.

As I move away from using day-to-day the very platforms encouraged here, it fells a bit contradictory to ask people to share my posts specifically to them. Getting a perfect score on Page Speed would be nice also.

Asking my girlfriend for an opinion brought forth the usual wisdom filled insights:

I use the built in share functionality, not any buttons on any website.

Genius.

Me too now I come to think about it. Checking the RSS app, it has a share functionality built in that ultimately uses the Android platforms built in features. Whilst there, I checked the feed for new posts:

We shouldn’t be here to feed the platform. The platform needs to be here for us. - Seth Godin

Encouraging others to post on these platforms Definitely counts as feeding them. What other reasons for removing them are there?

Best remove them for now. I can always implement the browsers own Web Share API if this kind of functionality is needed in the future. Again, this offloads work goto the browser.

Doing so chops some liquid / HTML from the theme:

Screenshot of deleted code

As well as an entire file filled with SCSS.

After all that, it’s moved the Page Speed Scores up a touch.

Google page speed final score

Fab.

rss twitter github youtube instagram linkedin stackoverflow mastodon