Feature #19717
closedUse PHP built–in gzip/deflate compression in Frontend
0%
Description
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)
Files
Updated by Dmitry Dulepov almost 16 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.
Updated by Dmitry Dulepov over 15 years ago
Attached v4 of the patch as per discussion with Thorsten Kahler. The only change is: compression hook is moved to a separate class.
Updated by Martin Kutschker over 15 years ago
According to ChangeLog this has been fixed on 4.3.2009