There is output filter for Smarty where it removes all whitespaces and converts the whole html to one long string, before rendering it. Is there anything like that for ZF?
use Zend_Filter_Minify_Html
component
http://framework.zend.com/wiki/display/ZFPROP/Zend_Filter_Minify_Html+-+Nick+Daugherty
Zend_Filter_Minify_Html is a filter to reduce the size of Html strings and files by removing extra white spaces and new line spaces, resulting in faster client downloads