[TYPO3-core] FYI72: #9947: gzip compression does not work in BE at all

Martin Kutschker masi-no at spam-typo3.org
Mon Dec 15 15:36:22 CET 2008


Dmitry Dulepov schrieb:
> Hi!
> 
> Martin Kutschker wrote:
>> ob_start may take a handler that may change the content on the fly when
>> the buffer is flushed and sent to the client. Maybe any necessary calls
>> can be made there.
> 
> Yes, I use ob_start() second time for supplying ob_gzhandler. The first one is for preventing content corruption due to developer's inaccuracy. See my reply to Steffen.
> 
> Or did you mean something else?

I meant that you could have used a handler for class.gzip_encode.php.

The current usage is dull. Why do I have to call gzip_encode() manually
if I could have provided a callback for ob_start() instead?

Masi


More information about the TYPO3-team-core mailing list