noone <(E-Mail Removed)> wrote:
> Clifford Kite wrote:
>> It makes sense to have compressed HTML pages at the server and uncompress
>> them with the browser since it reduces Internet traffic. It's transparent
>> to the browser user so I never noticed it - and know next to nothing
>> about HTTP.
> It should be supported at both ends ... Thus, when Mozilla sends an HTTP
> request, it sent the following:
> Accept-Encoding: gzip,deflate
> The webserver then knows that it can send an HTTP response with a
> "Content-Encoding: gzip" or "Content-Encoding: deflate" HTTP header and
> therefore instead of just serving the static / dynamic HTML file, the
> webserver compresses it.
> Now I just wonder if all that extra compression takes up a lot of CPU
> cycles on the webserver vs. just simply reading the file and writing it
> to the socket. Maybe there are PCI compression cards out there that
> allows you to off-load gzip and deflate compression onto the chip on the
> card ?
Let me reply with another question instead of me having to plow through
RFC 2616.
Does the HTTP specification say that the web server MUST compress
an uncompressed HTML page when the browser indicates it can do the
decompression, or can it store both a compressed and an uncompressed one,
and simply select the appropriate one to send? If that is left as an
"implementation detail" then I would choose to store both and select
whichever was appropriate.
My answer to your question about PCI cards is that I don't know whether
such cards exist or not.
--
Clifford Kite Email: "echo
xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads:
http://ckite.no-ip.net/
/* The generation of random numbers is too important to be left
to chance. */