marvin-zhao / minify

Automatically exported from code.google.com/p/minify
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

does not fully optimize #311

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This code optimizes my css, js and html but not to it's full potential. Run 
www.gtmetrix.com on your site that has this code enabled. You will notice that 
the mification is not optimal 100%. You can even download the optimized code 
from gtmetrix and compare it. I noticed that this minification is not removing 
line "\n". 

Are others seeing the same thing? 

Original issue reported on code.google.com by auth1...@gmail.com on 7 May 2014 at 6:30

Attachments:

GoogleCodeExporter commented 9 years ago
See 
https://code.google.com/p/minify/wiki/FAQ#Why_do_the_CSS_&_HTML_minifiers_add_so
_many_line_breaks?

If you have concrete ideas how to improve the algorithms, please share them.

Original comment by mrclay....@gmail.com on 7 May 2014 at 8:43