In order to keep the amount of traffic between the
server and the client under control it would be great if
the data traffic between the server and the client was
compressed.
http1.1 has support for this. When a client sends a
Accept-Encoding: gzip header the server can send the
data back in compressed in gzip format. This will
decrease the amount of traffic on average with 400%.
A test with data send from the server to the client
when all the bookmarks (+/-800) was about 130Kb,
compressing this was only 33Kb.
This has a number of advantages:
1) Speed of the transaction, benefits both the client as
well as the server
2) 400% reduction on bandwidth usage, for those
running a bookmark server and have to pay for their
bandwidth this is a major gain.
This request will probably impact the client software as
well as the server. With Php 4.05 the support for gzip
encoding is natively supported. For earlier versions there
are libraries available (see
http://leknor.com/code/php/view/class.gzip_encode.php.
txt)
As far as the client is concerned I'm not a Visual C++
expert, but assume there must be support to read the
compressed stream from the server.
Regards
Henry van den Broek
http://www.linkagogo.com