Hi,
I've a doubt
First of all I know that's the asyn way no freeze the browser
what's the best way for include script in a page
for caching purpose syn or asyn ?
syn
PHP Code:
<script src="//connect.facebook.net/en_US/all.js"></script> 
asyn
PHP Code:
(function(d){
    var 
jsid 'facebook-jssdk'ref d.getElementsByTagName('script')[0];
    if (
d.getElementById(id)) {return;}
    
js d.createElement('script');js.id id;js.async true;
    
js.src '//connect.facebook.net/en_US/all.js';
    
ref.parentNode.insertBefore(jsref);
}(
document)); 
I think it's quite irrelevant but ........
Thanks in advance