The Pain of Duplicate Scripts

Duplicate scripts on a page means multiple downloads (for Firefox) and a performance hit. You can help this by following Facebooks lead and opting out of an async load if the script element is already in place with if (d.getElementById(id)) {return;}

Visit Link

Leave a comment

Your email address will not be published. Required fields are marked *