# Gzip encoder

## Example

Lets see and example:

    Encoder gzip {
        Allow html, htm, txt
        Deny jpg, png, gz
    }

With the previous configuration, it works as follows:

    $ wget -q -O - http://localhost/example.html
    It works!

    $ wget -q -O - --header="Accept-encoding: gzip"  http://localhost/example.html | gzip -dc -
    It works!

which means that when the client supports the GZip encoding, the server will compress the content while it replies the client in order to save bandwidth and speed up the download.