[TYPO3-core] RFC: Bug 4623: Content encoding with x-gzip not possible in IE7

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Thu Mar 29 09:35:39 CEST 2007


Oliver Hader schrieb:
> Hi Dmitry,
> 
> Dmitry Dulepov wrote:
> 
>>Hi!
>>
>>Oliver Hader wrote:
>>
>>>Problem:
>>>IE7 can't handle pages with "Content-Encoding: x-gzip" set in HTTP
>>>headers. Furthermore "x-gzip" normally is used only for the Content-Type
>>>(e.g. MIME type) and not for the Content-Encoding.
>>
>>A bit offtopic but why we don't we simply start using ob_gzhandler
>>instead? Let PHP do it...
> 
> Hm, why not. It was added to PHP 4.0.5. So, for Trunk I'd like to change
> to ob_gzhandler. But for TYPO3_4-0 and TYPO3_4-1 we have to work with
> class.gzip_encode.php.

Does it make sense to use class.gzip_encode.php as a fallback if it is for 
some reason not enabaled in PHP?

And another idea: how about storing the gzipped content in the cache? We 
still can deflate the cache content if the client doesn't accept gzip 
encoding. But I guess that most clients do it and decoding costs less 
performance than encoding.

Masi


More information about the TYPO3-team-core mailing list