[TYPO3-core] RFC #9974: Use PHP built–in gzip/deflate compression in Frontend

Dmitry Dulepov dmitry at typo3.org
Fri Dec 19 12:29:55 CET 2008


Hi!

Martin Kutschker wrote:
> There might be a problem: the callback handler may return FALSE in case
> it doesn't want to change the content. I think this might happen, when
> ob_gzhandler detects that the client cannot handle transfer compression.

Good note, I'll fix it.

> PS: Since you created a special handler to correct the content-lenght
> header I wonder why you didn't use the PHP class as a fallback if the
> PHP extension isn't available.

Not possible. EM requires zlib, so zlib will be always there. Now I even doubt that check for zlib is necessary in the code...

-- 
Dmitry Dulepov
TYPO3 core team
In the blog: http://typo3bloke.net/post-details/how_will_i_fix_bugs_in_extensions_from_now_on/
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book


More information about the TYPO3-team-core mailing list