| Issue 87: | Other CSS Minifier options | |
| 2 people starred this issue and may be notified of changes. | Back to list |
It could be pretty nice if you include to your build some of powerfull css minifier. Hier is some infos about css optimizer: http://www.bloggingpro.com/archives/2006/08/17/css-optimization/ And hier ist, as I think the best one: http://iceyboard.no-ip.org/projects/css_compressor |
|
,
Feb 08, 2009
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.
Summary: Other CSS Minifier options
Status: Accepted Owner: st...@mrclay.org Labels: -Type-Defect -Priority-Medium Type-Enhancement Priority-Low |
|
,
Feb 09, 2009
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 |
|
|
|