Reduce the Size of Your Javascript

Last week, while using YSlow to check the performance of one of my Web sites, I finally decided to look into the advice it gives about minifying my javascript. With me using jQuery and some of its plugins, there were a few pages on which I was including four or five separate external javascript files (the jQuery library, the jQueryUI library, one or two plugins and my own javascript functions), and only some of them were minified.

So, I took to the Web to see what resources were available in PHP that I might be able to integrate with my custom CMS. That’s when I came across Valentin Agachi’s javascript packing package.