Open GoogleCodeExporter opened 9 years ago
CSS Compressor's code is all entangled with its web front end. Would you like
to
rewrite it as a class with a ::minify($css, $options) method?
My favorite consideration is CSSTidy; using a true parser might be necessary if
CSS3
syntax gets more wacky.
From what I can tell *none* of these preserve comment hacks. I know these are
thankfully headed out of style, but I don't want to potentially break users'
CSS to
save just a few bytes.
Original comment by mrclay....@gmail.com
on 9 Feb 2009 at 5:41
I don't know if CSSTidy has the same compress ratio as the first one, but it
seems to
know all optimization rules.
I whould not set it as default class, just like additional possibility, that I
can
configure throw compressorname as a parameter.
Such css compressor can make the file 60% smaller, sometimes its not just a few
bytes.
By minifying javascript you are also breaking users code. So for that case I
whould
build a debug mode, in which no css and javascript files will be
minified/optimized
Original comment by oleg008
on 9 Feb 2009 at 10:33
Original issue reported on code.google.com by
oleg008
on 9 Feb 2009 at 1:03