This is all quite interesting to me at least because deflate is included as
a preferred compression type in the WAP 2.0 standard (if you can call
anything in WAP truly a standard). I have looked at adding on the fly
deflate encoding to our WAP 2.0 proxy (written in Erlang), but we don't have
any handsets which support it yet. I see little but trouble ahead!
Your test page certainly looks very useful - please keep it up there :)
> From: Carsten Schultz <carsten@...>
> Date: Mon, 16 Feb 2004 18:56:55 -0000
> To: erlyaws-list@...
> Subject: Re: [Erlyaws-list] Content coding method `deflate'
> In case that anybody is interested...
> On Wed, Feb 11, 2004 at 01:50:43AM +0100, Carsten Schultz wrote:
>> On Mon, Feb 09, 2004 at 04:10:15PM +0100, Carsten Schultz wrote:
>>> I have checked in code to send deflated content. To activate it,
>>> have to set `deflate = true' in a server config.
>> Please use this with care. There seem to be a lot of browsers out
>> there which implement this incorrectly.
> Since there were more browser problems than I had anticipated, I have
> switched to `gzip' encoding. The option to turn it on is still called
> `deflate' however. So if you want to give it a try, I am quite
> confident that it won't break your site. If you want to see it in
> action, you can have a look at http://www.fu-mathe-team.de, I have enabled
> compression for it.
> Compression is disabled for browsers which I know to be broken (see
> yaws:has_buggy_gzip/2). If you want to test your browser
> independently of this, you can have a look at
> http://carsten.codimi.de/gzip.yaws/ for a test of gzip and deflate
> which does not use the new Yaws code and does not have compression
> disabled for buggy browsers. I am interested in your findings.
> Same things apply as before: You need to have the zlib module (which
> is in R9C or jungerl, for example). Only static files are compressed.
> Since large files are already compressed dynamically, it will not be
> too hard to compress dynamic files; I plan to do this, but time does
> not allow it for some weeks. If you think that the current code is
> usable, I will document it, however.
> Carsten Schultz (2:38, 33:47), FB Mathematik, FU Berlin
> PGP/GPG key on the pgp.net key servers,
> fingerprint on my home page.