minify – Google Code

I’ve been busy working on the user interface for and stumbled upon Minify while reading Yahoo’s Rules for High Performance Web Sites. I’ve got javascript in 7 files and CSS in 5 files. That is 12 HTTP requests!

It turns out the easiest way to reduce my javascript and CSS requests was to install Minify. Now, my (soon to be released) site only serves 1 javascript and 1 CSS file. These files are gzipped and can be cached for maximum performance. Any time you can reduce the number of HTTP request from 12 to 2 it is going to help improve your page load times!

Installation and setup is super easy. You just install the files in your document root and then use the included wizard to generate your new minified javascript and CSS links.