Compression is done on the fly .
This assumes that you're really on a slow link, where you have lots of CPU, but not much bandwidth. A nifty usage for that filter, is to plug it on top of a w3c.jigsaw.proxy.ProxyDirectory , in which case it will compress the data when it flies out of the proxy. The set of MIME types we are allowed to compress. Simplified API to the outgoing filter metho. Catch the setting of mime types to compress.