3 ms·
Any reason it can't be kept resident so you don't have to start it up all the time? Should be a fairly simple change to add a batch mode or similar... Alternat
by RyanZAG 14y ago
Any reason it can't be kept resident so you don't have to start it up all the time? Should be a fairly simple change to add a batch mode or similar...
Alternatively, best practices appear to be to use caching of the css files:
http://developer.yahoo.com/yui/compressor/#using http://developer.yahoo.com/yui/compressor/#using
"If you wish to minify your files on the backend (also known as on-the-fly minification) instead of at build time, you will want to cache the minified files in memory for optimal performance (instead of minifying the same files over and over & minification is a time consuming process) Note that the YUI Compressor can easily be instantiated and used from a Java-based environment (Servlet). "