Way down the list of YSlow rules, we’ve reached rule number 11, which is important and a no-brainer to implement. The rule is titled “Minify JavaScript and CSS.” So what is minification, and why do we need it? Both JavaScript and CSS files are packed with unnessecary characters like spaces, comments, tabs, etc. Minification is… Read more »
Posts Tagged: SquishIt
Combining your scripts and style sheets with SquishIt
One of the rules mentioned in most performance-analyzing tools is “Combine your JavaScript.” Basically this means that instead of this: You want to do this instead: So what’s the problem with approach number 1? When your browser parses the HTML and reaches the script tag, it makes an http request to fetch the script referenced… Read more »