http://www.perlmonks.org?node_id=118967


in reply to HTML::Clean Review

HTML::Clean isn't only good for static HTML pages. I use it in a mod_perl content management system to shrink my page sizes and it works beautifully.

I use this in combination with CGI::Application and HTML::Template. This is a wicked space saver for HTML::Template pages especially, because all the context variables in a template file leave behind whitespace after parsing (which makes sense at some level, especially if you're generating stuff in PRE tags.)

I've found a shrinkage of 10-20% at a speed penalty of about 2-3% in combination with mod_perl. Pretty good savings! I use it at it's lowest level too.

If the max performance of an application isn't bound by processor speed, I highly recommend using HTML::Clean!

-Any sufficiently advanced technology is
indistinguishable from doubletalk.