4 ms·
It's times like this that remind me how important it is not to completely rely on 3rd party scripts. Try pointing all 3rd party scripts to a non-existent server
by dave1010uk 15y ago
It's times like this that remind me how important it is not to completely rely on 3rd party scripts. Try pointing all 3rd party scripts to a non-existent server and see how long your website takes to load. This can be mitigated by loading scripts asynchronously.
- bascule 15y agoIf only Facebook thought of loading their SDK asynchronously. Oh wait, they did: https://developers.facebook.com/docs/authentication/client-side/ https://developers.facebook.com/docs/authentication/client-s...
- dave1010uk 15y agoMany sites load Facebook's script synchronously [0]. My point is that developers should be aware of this issue, not that Facebook have done anything wrong. For example, Twitter and Google Analytics are often included synchronously [1]. [0] http://www.stevesouders.com/blog/2011/10/13/frontend-spof-survery/ http://www.stevesouders.com/blog/2011/10/13/frontend-spof-su... [1] http://www.stevesouders.com/blog/2012/03/28/frontend-spof-in-beijing/ http://www.stevesouders.com/blog/2012/03/28/frontend-spof-in...