I'm searching for the best tool in order to compact css, javascript and html.
Background: I'm developing an administration UI in html5 on an embedded web server for a device with 8 MegaBytes of flash memory. Functionalities are still rather advanced, but size is a concern.
The tool I'm looking for should ideally allow for inclusion in our post-production shell scripts.
I'm already aware of YUI-compressor, but since I never used it extensively I was wondering if it represents the best solution or if there's something better to use.
Note: my answers are .NET based, because no OS/Framework was specified.
YUICompressor (and there's a .NET version on NuGet) is ok (Disclaimer: I'm a co-ordinator of the .NET project).
More recently, there's RequestReduce that is pretty damn awesome!
You also might want to check out SquishIt as a 3rd option.
Finally, the next version of .NET (at the time of this posting) will include this stuff finaly baked into the product.