Ricsi wrote:
> B> Then good servers (Apache for instance) will compress the file
> B> (atleast I assume that's what it does) and send it to the browser for
> B> decompression.
>Does that work for files other than HTML as well ??
>(I mean does apache for instance have the ability to compress images (BMP
>...) as well ?? )

I don't know, it would seem good to do it all the time, but on files that
are already compressed you will not gain anything (or very little if you do
it). The question is then if it uses more CPU time for the server than it
will gain in transfer time. A client should probably gain on it since most
of us still sit on a modem connection.

> B> BMP files should be compressed almost as good with gzip as with pkzip
> B> and it is a lot easier.
>100% agree ... and IMHO there is also gzip/gunzip for DOS

Correct, g(un)zip is one of the most portable programs. I haven't tried to
compile the latest version with BC but I did fix the makefile for DJGPP so
it works with the latest version. (So it's downloadble from my pages -
bernie.arachne.cz/download.htm should have a link).

> B> Still it will not help the poor bastards that don't have such support
> B> (both NS and IE has it since a few versions back IIRC).
>REALLY ?? IE does support this ??

IIRC yes.

>Maybe this can be triggered by the user agent string ...
>or how does the server know, that the client is able to process gzipped
>files ??

It sends something like:
Compress: gzip

I'll of course make sure I write the correct line into the source, but I
kind of lack it. BTW: This is my third hint Michael ;-)
//Bernie

Reply via email to