ZF-8843: Whitespace in gzencoded cached pages
Description
I created simple application resource, which uses php's gzencode function to compress response body.
Everything works fine, but when I enable Zend_Cache_Page, I get strange characters before DOCTYPE:
�������X��
and after
Comments
Posted by Pedro Pinto (_pn_boy) on 2010-02-18T03:13:43.000+0000
You probably just need to add, the frontend options:
'memorize_headers' => array('Content-Encoding', 'Vary', 'Content-Length')
possibly other headers too, Content-Language and Content-Type are also quite common in the frontend options