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
Tag: souders
Clearing Browser Data | High Performance Web Sites
In Keys to a Fast Web App I listed caching as a big performance win. I’m going to focus on caching for the next few months. The first step is a study I launched a few days ago called the Clear Browser Experiment. Before trying to measure the frequency and benefits of caching, I wanted… Continue reading Clearing Browser Data | High Performance Web Sites