4 ms·
"Do we save something? Do we win something?" Yes, you win at least two things by removing social links or other third party hosted code: Security - your site
by grey-area 12y ago
"Do we save something? Do we win something?"
Yes, you win at least two things by removing social links or other third party hosted code:
Security - your site is no longer liable to be hacked via the js you're including on every page. This will happen to one of these major social services, perhaps after they run out of money or are acquired by some large corporation and security becomes an afterthought. At that point millions of websites across the web will have js injected which steals data/code/credentials because they are hot loading js on every request from several domains. I expect it to be a major scandal when it hits and make people rethink including live dependencies from all over the web on a website.
Speed - users get faster page loads, which directly translates into more sales/engagement etc.
These are not at all intangible or without measurable results.
It's quite possible to have simple social buttons/links using a url and traditional web which function in pretty much the same way but send you to a page to share/like/comment instead of taking over your page with a little social popup. The real reason services like FB etc want you to include their js on every page has nothing to do with improving your user experience or making your website better, it's so that they can improve their tracking, so you'd also be doing your users a favour from that perspective too, as well as benefiting the business.
- acqq 12y agoI know about buttons, but the site owners do want to run the adds, and the adds typically don't come from the same site. And the discussion is about the benefits of HTTP2 optimizations.