Search code examples
jqueryfacebookiframefacebook-likefacebook-iframe

Facebook like iframe slowing down page loading


I have a page on my website that I have added the Facebook like feature to it implemented via an frame as outlined in the Facebook specification.

The site is built in asp.net with client side development via jquery.

Performance tests on the page has shown it's now taking double the time to load than previously, with the issue being the introduction of Facebook iframe.

So need to fix this. Any tips or suggestions? Could a possible workatoubdcbe the loading of the iframe ayschraneously?


Solution

  • I've found this to be the case too with some of my sites. You could try using JavaScript to insert the iframe once the page has loaded.