David Gilbertson
Sep 5, 2017 · 1 min read

Maybe I missed something, but isn’t your article’s title 100% false?

Only 6% of the top 10,000 sites hit the Facebook CDN, so it’s 16% of their code that is from Facebook (if all of those hit the Facebook CDN to get the SDK, rather than, say, a 2 KB like button image).

So that’s not 16% of the average site. It’s 16% of 6% of sites.

So on average 0.96% of the code across those 10,000 sites is from Facebook. You’ll update your title to say that, right?

On the flip side, if you wanted to be more sensationalist, you should point out that the Facebook SDK has a cache-control max-age of 1200 (20 minutes) — so a user is not likely to be using it from cache, and most likely will be downloading it again and again. That is, for those 6% of sites that use it.

HackerNoon.com

how hackers start their afternoons.

    Written by

    I like web stuff.

    how hackers start their afternoons.

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade