I have put a facebook like, facebook send, and twitter tweet button 10 times on my web page (1 for each article in my thread), but yet the page loads very slowly. Right now the site is just running on my local XAMPP stack but when I ment out those widgets, the page loads instantaneously. Otherwise it takes like 10 seconds to load.
I have put a facebook like, facebook send, and twitter tweet button 10 times on my web page (1 for each article in my thread), but yet the page loads very slowly. Right now the site is just running on my local XAMPP stack but when I ment out those widgets, the page loads instantaneously. Otherwise it takes like 10 seconds to load.
Share Improve this question asked May 4, 2011 at 8:22 cdubcdub 25.8k60 gold badges187 silver badges329 bronze badges 2- Great then please read the link I posted above and ... Wele to Stackoverflow! – ifaour Commented May 4, 2011 at 8:34
- try this solution: stackoverflow./questions/6838254/… – kzap Commented Aug 3, 2011 at 11:02
3 Answers
Reset to default 3It would be helpful to see the code to make sure you are applying it correctly, but I've experienced similar symptoms before. The way I would render it is by having the associated external Javascript files just before your </body>
tag and not in your head. If the connection to the external host is slow, it can cause parallisation issues so you want to load it last.
This is happening all over the web lately. I'll see a slow-loading page and sure enough at the bottom there's a note that facebook or twitter is still loading.
The solution I found was an extension that shows the FB, Twitter buttons but doesn't actually load them unless you click the button. That way your page loads quickly and if FB or Twitter is slow that's their problem.
I use Sharrre for social sharing buttons. I activate it on mouseover so nothing is loaded until the user actually needs it. Hard to get it faster than this. It also supports a few other networks.
I don't load social sharing buttons directly anymore and only do it when there is no other option. Those things are horrible for loading times specially if used multiple times on the same page.