When browsers download scripts, they block all other resources from downloading until such time that the script has finished downloading. When I mean all other resources, it includes even other CSS files and images. There are several ways to reduce the impact of serial script download, and the “High Performance Websites” book makes a couple of good suggestions.
Related Submissions:
- What is a Non-Blocking Script? It was just a couple of years ago that Steve Souders introduced the concept of blocking vs. non-blocking into the common lexicon of web developers...
- Use PHP to Gzip and Optimize CSS Files Use PHP to optimize and gzip CSS files resulting in smaller download size and fewer HTTP requests. I was able to reduce the size of...
- High Performance Web Sites :: Simplifying CSS Selectors ‘Simplifying CSS Selectors’ is the last chapter in my next book. My investigation into CSS selector performance is therefore fairly recent. A few months ago,...
- Web Font Optimizer Page download size is critical as it directly affects the performance experienced by users, and many TTF files are hundreds of kilobytes in size. This...
- Better JavaScript Minification Although both CSS and JavaScript may be included within an HTML page, best practices encourage storing CSS and JavaScript in external files that can be...