Re: Re: Output Compression Issues

From: Date: Thu, 16 Aug 2001 18:27:24 +0000
Subject: Re: Re: Output Compression Issues
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-63458@lists.php.net to get a copy of this message
On 16 Aug 2001 15:26:09 +0300, Zeev Suraski wrote: > - Output compression should probably check that the content type is text/*, > and not perform compression otherwise that means adding another sapi call - but i think it would make sense. > - We can look into sending the content length header from the output > compression callback if ithe output is not send as chunks we should do so - the original code for that (10 lines) was added by me and taken out by you a few days later when you added the chunking support. > > Can anybody think of good reasons not to send the content-length header in > case we're performing output buffering? if we flush the output-buffer at the end of the request (= no chunking) we should set the content-length as it greatly decreases latency on slow network-connection to be able to us keep-alives! tc

« previous php.dev (#63458) next »