Why is Facebook javascript SDK slowing down page load speed? -
we use javascript sdk login , sharing (iframes button). javascript loaded after page load. we're seeing 1.5 3 second slower full page loads facebook enabled. can identify cause , optimize perceived , real page load speed?
- make sure js includes after css includes rending
- remote javascript loads @ mercy of whoever hosting them. can locally host them, don't latest version, , js includes won't work if they're not included remotely.
- try putting facebook include last element in tag. actual facebook logic won't happen until rest of document loads however.
Comments
Post a Comment