Compress/minify/strip comments from Javascript using PHP
<p>I am working on a mobile web app that outputs a number of CSS,HTML ans JS files into a single HTML file.</p>

<p>I was just wondering if anyone knew of libraries/classes that can automatically compress (and cache) the files before adding them to the html file.</p>
