DataparkSearch Engine 4.26 reference manual: The Web searching software
Prev | Chapter 3. Indexing | Next

# Content-Encoding support

DataparkSearch engine supports HTTP compression (Content encoding). Compression can have a major impact on the performance of HTTP transactions. The only way to obtain higher performance is to reduce the number of bytes transmitted.

Using content encoding to receive server response allows reducing traffic twice or more.

The HTTP 1.1 (RFC 2616) specification contains four content encoding methods: `gzip, deflate, compress`, and `identity`.

When Content-encoding is enabled, DataparkSearch indexer sends to a server `Accept-Encoding: gzip,deflate,compress` string in HTTP headers.

If the server supports any of gzip, deflate or compress encoding, it sends gziped, deflated or compressed response.

To compile DataparkSearch with HTTP Content encoding support, `zlib` library is required.

To enable HTTP Content encoding support, configure DataparkSearch with the following option:

`./configure --with-zlib`

Use this option along with all the other necessary ones.

Prev | Home | Next
Supported HTTP response codes | Up | indexer configuration