Quoting Jerome Charaoui (2014-01-30 01:11:03)
> clean-css is another option based on nodejs, but which is already 
> packaged in Debian.
> 
> http://packages.debian.org/jessie/cleancss

Yes, and its package description claims it does same kind of job 
(minifying) as yui-compressor, just faster.

It seems common among JavaScript coders to do all in JavaScript - 
compute-while-serving in memory.

If compacting CSS on-the-fly while serving it, I can see a relevancy for 
that processing to be as fast as possible.  But personally I find it 
better to serve pre-computed data, and then speed is less important (if 
speed is an issue in minifying your CSS, then most likely your CSS 
design is wrong).

I doubt Photofloat needs speedy CSS minification.  I guess guess 
reliability has higher priority.

Do clean-css exit non-zero if it fails to parse input? Sass does.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature

Reply via email to