{"id":2999,"date":"2010-09-09T05:15:39","date_gmt":"2010-09-08T23:45:39","guid":{"rendered":"http:\/\/www.bhagwad.com\/blog\/?p=2999"},"modified":"2010-10-09T02:09:42","modified_gmt":"2010-10-08T20:39:42","slug":"why-facebooks-like-button-is-so-slow","status":"publish","type":"post","link":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/why-facebooks-like-button-is-so-slow.html\/","title":{"rendered":"Why Facebook\u2019s \u201cLike\u201d button is so slow"},"content":{"rendered":"<p>Along with most bloggers, I&#8217;ve lusted over Facebook&#8217;s &#8220;Like&#8221; button. There&#8217;s nothing that <em>quite<\/em> matches it\u00a0on the web. It&#8217;s small and simple. What could be easier than putting a harmless little icon on your site to let visitors vote for you right?<\/p>\n<p>But I got a nasty shock when I installed it. It makes <em>at least thirty<\/em> separate calls to Facebook servers and your site takes forever to finish loading. Any webmaster will tell you that the first step to improving your page speed is to cut down the number of requests to the server. From this perspective, Facebook commits a crime &#8211; an unforgivable transgression.<\/p>\n<p>I&#8217;ve tried three different ways to install it on WordPress &#8211; using the code from Facebook and installing two separate plugins. It doesn&#8217;t make a difference. The button is still a resource hog. Here&#8217;s a screenshot of the requests from tools.pingdom.com:<\/p>\n<figure id=\"attachment_3000\" aria-describedby=\"caption-attachment-3000\" style=\"width: 382px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3000\" title=\"Facebook &quot;Like&quot; Button Requests\" src=\"http:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2010\/09\/Facebook-Like.jpg\" alt=\"Facebook &quot;Like&quot; Button Requests\" width=\"392\" height=\"463\" srcset=\"https:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2010\/09\/Facebook-Like.jpg 392w, https:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2010\/09\/Facebook-Like-253x300.jpg 253w, https:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2010\/09\/Facebook-Like-126x150.jpg 126w\" sizes=\"auto, (max-width: 392px) 100vw, 392px\" \/><figcaption id=\"caption-attachment-3000\" class=\"wp-caption-text\">Facebook&#39;s &quot;Like&quot; Button - the huge number of requests<\/figcaption><\/figure>\n<p>This shows only a part of the total requests made to Facebook&#8217;s servers. Go ahead and test any page which has the button on tools.pingdom.com. You&#8217;ll be astonished at how long it takes to load &#8211; scroll down to the bottom and it&#8217;s pretty obvious what the cause is.<\/p>\n<p>While it&#8217;s true that the button starts loading only after the page has begun to render, there&#8217;s something just <em>wrong<\/em> about such an obscene number of calls. It just doesn&#8217;t feel right you know what I mean? For those with slow Internet connections, I can imagine their systems working hard just to display the damn thing.<\/p>\n<p>Google is rumored to be developing its own &#8220;Like&#8221; button in conjunction with Google Me. I&#8217;m eagerly waiting for it in the hope that it&#8217;ll go easy with the http requests. After all, it&#8217;s Google who&#8217;s really pushing for faster speeds on the Internet and even going so far as to link the PageRank to it. Come on Google! Give me an alternative to Facebook bloat.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How Facebook&#8217;s &#8220;Like&#8221; button slows down my page by making at least thirty requests to the server! I&#8217;ve attached a screenshot as proof<\/p>\n","protected":false},"author":2,"featured_media":3000,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31,33,23],"tags":[],"class_list":["post-2999","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-nr","category-sa","category-technology"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Why Facebook\u2019s \u201cLike\u201d button is so slow<\/title>\n<meta name=\"description\" content=\"How Facebook&#039;s &quot;Like&quot; button slows down my page by making at least thirty requests to the server! I&#039;ve attached a screenshot as proof\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/why-facebooks-like-button-is-so-slow.html\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Why Facebook\u2019s \u201cLike\u201d button is so slow\" \/>\n<meta property=\"og:description\" content=\"How Facebook&#039;s &quot;Like&quot; button slows down my page by making at least thirty requests to the server! I&#039;ve attached a screenshot as proof\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/why-facebooks-like-button-is-so-slow.html\/\" \/>\n<meta property=\"og:site_name\" content=\"Expressions - Bhagwad Jal Park\" \/>\n<meta property=\"article:published_time\" content=\"2010-09-08T23:45:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2010-10-08T20:39:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2010\/09\/Facebook-Like.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"392\" \/>\n\t<meta property=\"og:image:height\" content=\"463\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"bhagwad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bhagwad\" \/>\n<meta name=\"twitter:site\" content=\"@bhagwad\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"bhagwad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2010\\\/technology\\\/why-facebooks-like-button-is-so-slow.html\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2010\\\/technology\\\/why-facebooks-like-button-is-so-slow.html\\\/\"},\"author\":{\"name\":\"bhagwad\",\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/#\\\/schema\\\/person\\\/06c9c710885b810f1dfe3779fc346b23\"},\"headline\":\"Why Facebook\u2019s \u201cLike\u201d button is so slow\",\"datePublished\":\"2010-09-08T23:45:39+00:00\",\"dateModified\":\"2010-10-08T20:39:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2010\\\/technology\\\/why-facebooks-like-button-is-so-slow.html\\\/\"},\"wordCount\":368,\"commentCount\":32,\"publisher\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/#\\\/schema\\\/person\\\/06c9c710885b810f1dfe3779fc346b23\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2010\\\/technology\\\/why-facebooks-like-button-is-so-slow.html\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/wp-content\\\/uploads\\\/2010\\\/09\\\/Facebook-Like.jpg\",\"articleSection\":[\"NR\",\"SA\",\"Technology\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2010\\\/technology\\\/why-facebooks-like-button-is-so-slow.html\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2010\\\/technology\\\/why-facebooks-like-button-is-so-slow.html\\\/\",\"url\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2010\\\/technology\\\/why-facebooks-like-button-is-so-slow.html\\\/\",\"name\":\"Why Facebook\u2019s \u201cLike\u201d button is so slow\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2010\\\/technology\\\/why-facebooks-like-button-is-so-slow.html\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2010\\\/technology\\\/why-facebooks-like-button-is-so-slow.html\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/wp-content\\\/uploads\\\/2010\\\/09\\\/Facebook-Like.jpg\",\"datePublished\":\"2010-09-08T23:45:39+00:00\",\"dateModified\":\"2010-10-08T20:39:42+00:00\",\"description\":\"How Facebook's \\\"Like\\\" button slows down my page by making at least thirty requests to the server! I've attached a screenshot as proof\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2010\\\/technology\\\/why-facebooks-like-button-is-so-slow.html\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2010\\\/technology\\\/why-facebooks-like-button-is-so-slow.html\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2010\\\/technology\\\/why-facebooks-like-button-is-so-slow.html\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/wp-content\\\/uploads\\\/2010\\\/09\\\/Facebook-Like.jpg\",\"contentUrl\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/wp-content\\\/uploads\\\/2010\\\/09\\\/Facebook-Like.jpg\",\"width\":\"392\",\"height\":\"463\",\"caption\":\"Facebook \\\"Like\\\" Button - huge number of requests\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/2010\\\/technology\\\/why-facebooks-like-button-is-so-slow.html\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Why Facebook\u2019s \u201cLike\u201d button is so slow\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/\",\"name\":\"Expressions - Bhagwad Jal Park\",\"description\":\"My thoughts, haikus and freelance musings\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/#\\\/schema\\\/person\\\/06c9c710885b810f1dfe3779fc346b23\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/#\\\/schema\\\/person\\\/06c9c710885b810f1dfe3779fc346b23\",\"name\":\"bhagwad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/7940f38fc479ebe739ec963b542bf098.jpg?ver=1776270596\",\"url\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/7940f38fc479ebe739ec963b542bf098.jpg?ver=1776270596\",\"contentUrl\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/7940f38fc479ebe739ec963b542bf098.jpg?ver=1776270596\",\"caption\":\"bhagwad\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.bhagwad.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/7940f38fc479ebe739ec963b542bf098.jpg?ver=1776270596\"},\"sameAs\":[\"http:\\\/\\\/www.bhagwad.com\\\/blog\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Why Facebook\u2019s \u201cLike\u201d button is so slow","description":"How Facebook's \"Like\" button slows down my page by making at least thirty requests to the server! I've attached a screenshot as proof","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/why-facebooks-like-button-is-so-slow.html\/","og_locale":"en_US","og_type":"article","og_title":"Why Facebook\u2019s \u201cLike\u201d button is so slow","og_description":"How Facebook's \"Like\" button slows down my page by making at least thirty requests to the server! I've attached a screenshot as proof","og_url":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/why-facebooks-like-button-is-so-slow.html\/","og_site_name":"Expressions - Bhagwad Jal Park","article_published_time":"2010-09-08T23:45:39+00:00","article_modified_time":"2010-10-08T20:39:42+00:00","og_image":[{"width":392,"height":463,"url":"https:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2010\/09\/Facebook-Like.jpg","type":"image\/jpeg"}],"author":"bhagwad","twitter_card":"summary_large_image","twitter_creator":"@bhagwad","twitter_site":"@bhagwad","twitter_misc":{"Written by":"bhagwad","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/why-facebooks-like-button-is-so-slow.html\/#article","isPartOf":{"@id":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/why-facebooks-like-button-is-so-slow.html\/"},"author":{"name":"bhagwad","@id":"https:\/\/www.bhagwad.com\/blog\/#\/schema\/person\/06c9c710885b810f1dfe3779fc346b23"},"headline":"Why Facebook\u2019s \u201cLike\u201d button is so slow","datePublished":"2010-09-08T23:45:39+00:00","dateModified":"2010-10-08T20:39:42+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/why-facebooks-like-button-is-so-slow.html\/"},"wordCount":368,"commentCount":32,"publisher":{"@id":"https:\/\/www.bhagwad.com\/blog\/#\/schema\/person\/06c9c710885b810f1dfe3779fc346b23"},"image":{"@id":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/why-facebooks-like-button-is-so-slow.html\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2010\/09\/Facebook-Like.jpg","articleSection":["NR","SA","Technology"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.bhagwad.com\/blog\/2010\/technology\/why-facebooks-like-button-is-so-slow.html\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/why-facebooks-like-button-is-so-slow.html\/","url":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/why-facebooks-like-button-is-so-slow.html\/","name":"Why Facebook\u2019s \u201cLike\u201d button is so slow","isPartOf":{"@id":"https:\/\/www.bhagwad.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/why-facebooks-like-button-is-so-slow.html\/#primaryimage"},"image":{"@id":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/why-facebooks-like-button-is-so-slow.html\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2010\/09\/Facebook-Like.jpg","datePublished":"2010-09-08T23:45:39+00:00","dateModified":"2010-10-08T20:39:42+00:00","description":"How Facebook's \"Like\" button slows down my page by making at least thirty requests to the server! I've attached a screenshot as proof","breadcrumb":{"@id":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/why-facebooks-like-button-is-so-slow.html\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bhagwad.com\/blog\/2010\/technology\/why-facebooks-like-button-is-so-slow.html\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/why-facebooks-like-button-is-so-slow.html\/#primaryimage","url":"https:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2010\/09\/Facebook-Like.jpg","contentUrl":"https:\/\/www.bhagwad.com\/blog\/wp-content\/uploads\/2010\/09\/Facebook-Like.jpg","width":"392","height":"463","caption":"Facebook \"Like\" Button - huge number of requests"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bhagwad.com\/blog\/2010\/technology\/why-facebooks-like-button-is-so-slow.html\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.bhagwad.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Why Facebook\u2019s \u201cLike\u201d button is so slow"}]},{"@type":"WebSite","@id":"https:\/\/www.bhagwad.com\/blog\/#website","url":"https:\/\/www.bhagwad.com\/blog\/","name":"Expressions - Bhagwad Jal Park","description":"My thoughts, haikus and freelance musings","publisher":{"@id":"https:\/\/www.bhagwad.com\/blog\/#\/schema\/person\/06c9c710885b810f1dfe3779fc346b23"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bhagwad.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.bhagwad.com\/blog\/#\/schema\/person\/06c9c710885b810f1dfe3779fc346b23","name":"bhagwad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bhagwad.com\/blog\/wp-content\/litespeed\/avatar\/7940f38fc479ebe739ec963b542bf098.jpg?ver=1776270596","url":"https:\/\/www.bhagwad.com\/blog\/wp-content\/litespeed\/avatar\/7940f38fc479ebe739ec963b542bf098.jpg?ver=1776270596","contentUrl":"https:\/\/www.bhagwad.com\/blog\/wp-content\/litespeed\/avatar\/7940f38fc479ebe739ec963b542bf098.jpg?ver=1776270596","caption":"bhagwad"},"logo":{"@id":"https:\/\/www.bhagwad.com\/blog\/wp-content\/litespeed\/avatar\/7940f38fc479ebe739ec963b542bf098.jpg?ver=1776270596"},"sameAs":["http:\/\/www.bhagwad.com\/blog"]}]}},"_links":{"self":[{"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/posts\/2999","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/comments?post=2999"}],"version-history":[{"count":0,"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/posts\/2999\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/media\/3000"}],"wp:attachment":[{"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/media?parent=2999"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/categories?post=2999"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bhagwad.com\/blog\/wp-json\/wp\/v2\/tags?post=2999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}