Support

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

static.ak.fbcdn.net slows down pageload drastically

guneyozsan Feb 03, 2012 @ 08:39PM EST
The page loading freezes while waiting for static.ak.fbcdn.net. I searched the net and it is a widespread problem because of Facebook servers. Ocasionally it is around 6 seconds and it can go uptop 20 seconds! There is a solution with JQuery for downloading the Facebook script after the page is loaded:

Using this...

$(document).ready(function() {
$.getScript("http://static.ak.fbcdn.net/connect.php/js/FB.Share", function() {
alert("Script loaded and executed.");
});
});

...instead of this...

<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>

...solves the problem.

Source: http://stackoverflow.com/questions/4881164/loading-an-external-script-after-page-load-with-jquery

The problem is I'm using addthis to call facebook like button. And I don't know if it is possible and how to implement this solution to AddThis code. My AddThis code has something like this:

<a class="addthis_button_facebook_like" fb:like:layout="button_count" fb:like:href="https://www.facebook.com/pages/Guney-Ozsan/178606805563093"></a>

Thank you.
Paul Feb 06, 2012 @ 02:31PM EST AddThis Happiness Specialist
Unfortunately I don't know of a workaround for that, but I'll let our developers know to see if there's a way we can get it to load faster or use a workaround for loading Facebook.
Up 0
Down rated

This question has received the maximum number of answers.

help@addthis.com
http://assets04.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete