serg472 / htmlcompressor

HTML Compressor and Minifier, can be used standalone and as a Java library
Apache License 2.0
40 stars 14 forks source link

Suggestion: exclusion of directories #74

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I run the html compressor recursively through the root folder of a site, from 
the command line via PHP. While most subdirectories there need to have the 
included html files processed, some do not, and it would be great to be able to 
exclude these on a per-directory and/or per-file basis. Would that be an option?

Original issue reported on code.google.com by rob.vand...@gmail.com on 25 May 2012 at 5:45

GoogleCodeExporter commented 9 years ago
This is not a defect. It should be a suggested enhancement.

Original comment by abhia...@gmail.com on 30 Jul 2012 at 10:28

GoogleCodeExporter commented 9 years ago
I second that. I use third party PHP libraries for generating PDFs and I really 
want to be able to tell htmlcompressor to ignore compressing those on a per 
directory basis.

Thanks

Original comment by u01jmg3 on 19 Apr 2013 at 1:35