[eluser]Jérôme Jaglale[/eluser]
mod_deflate sure has its advantages:
- gzip compression: that's
real compression

- also compresses static HTML/XML/text, not only CI-generated contents
but
- older browers have trouble with with gzipped contents
- more CPU intensive (gzip compression at each request)
An advantage of the hook is that it's still plain HTML. Also the "compressed" version can be cached by CI so the "compression" is done only once.
With HTMLTidy you can do things like removing comments, making sure the page is XHTML...