EllisLab/CodeIgniter — pull request #965 by atiredmachine (2012-01-25 01:05:30+00:00)
Title: Adds config option to minify HTML output

If the $config['minify_output'] setting is set to TRUE, CodeIgniter's output class will process the output with a (currently very rudimentary) minify function.

According to my tests simply removing extra spaces reduces the content by 8-12%. I'm sure more advanced minifying could improve on this. Output is minified before the cache is written, so savings are also on diskspace.

Also, I still haven't figured out how to not include those previous first two commits in my pull requests.