The mix of Web Deployment Projects and YUI Compressor is the most efficient method for me. I don’t have to think about it because it’s integrated to my deployment build process. It provides the flexibility to either minify the files individually or merge them into one large file that my visitors only have to download one.
- Visual Studio 2010 Web Deployment Projects
– or –
Visual Studio 2008 Web Deployment Projects
- Yahoo! UI Library: YUI Compressor for .Net
- Firebug for Firefox
- YSlow by Yahoo!