Use PHP built–in gzip/deflate compression in Frontend
Currently TYPO3 uses its own GZip compression class. This class was not changed for a long time and few know how it works. PHP includes its own output compression handler, which is not only faster but also maintained by PHP team and supports "deflate" compression in addition to "gzip".
The attached patch changes TYPO3 Frontend to use PHP handler instead of TYPO3 own. It will also correct "Content-length" header generated by "config.enableContentLengthHeader=1".
(issue imported from #M9974)
#1 Updated by Dmitry Dulepov over 11 years ago
Another possible optimization: always send content length. It helps browser to detect the end of data stream aftser and speeds up rendering by 0.5-1s according to measurements with FireBug. It is especially helpful with pipelining or keep-alives enabled on the web server.