HI Louis,
my guess would be: the php response does not use the content-length header for the response size. flatcompression only works when the content-length is set.
Maybe You can change Your php setup, so that for each response the content-length is calculated.
Otherwise, I dont know how to help. Chunking mode compression is on my list, but I am not sure whether I'll find enough time in 2002.
So long,
Uli Margull
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
compression of .ASP pages is working ok, (and of course .HTML), but not the output of .PHP pages
is this a limitation of the way it works (ie, CGI vs ISAPI in IIS etc), or just a bug ?
(using php installed as cgi, since the isapi version of php is too unstable)
Louis
HI Louis,
my guess would be: the php response does not use the content-length header for the response size. flatcompression only works when the content-length is set.
Maybe You can change Your php setup, so that for each response the content-length is calculated.
Otherwise, I dont know how to help. Chunking mode compression is on my list, but I am not sure whether I'll find enough time in 2002.
So long,
Uli Margull
try using the zlib compression built into newer versions of php .. just put
<?php ob_start( 'ob_gzhandler' ); ?>
at the top of each php page which you want to be compressed (or better yet in a common include file)