Current time: 12-05-2020, 07:32 PM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Facebook SPOF - how to prevent?
09-24-2010, 07:40 AM
Post: #3
RE: Facebook SPOF - how to prevent?
(09-24-2010 07:29 AM)pmeenan Wrote:  Can you populate the Facebook widget at onload? That would certainly do it (though it would delay rendering of the widget) :-)

aha... thanks... makes sense.... i don't mind the 3 - 5 second delay in the facebook widget being populated (i think - would be worth doing ab testing on it)...

meaning something like this?

<div id="facebookwidget"></div>

and after onload

document.getElementById('facebookwidget').innerHTML = '<iframe src......>';

or is there a better way?

on a side note... facebook should use a cdn served static file for the base iframe page... and then the iframe should load the dynamic stuff via ajax call. We help you select the right CDN
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
Facebook SPOF - how to prevent? - sajal - 09-24-2010, 06:54 AM
RE: Facebook SPOF - how to prevent? - sajal - 09-24-2010 07:40 AM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)