From 454c8df171c29474c0b57d09caeed51e1fc084ae Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 8 Jul 2011 13:31:17 +0000 Subject: [PATCH] Document enable-compression --- doc/source/p-config.sgml | 69 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 67 insertions(+), 2 deletions(-) diff --git a/doc/source/p-config.sgml b/doc/source/p-config.sgml index 05d311d5..a5f98b93 100644 --- a/doc/source/p-config.sgml +++ b/doc/source/p-config.sgml @@ -3,7 +3,7 @@ Purpose : Used with other docs and files only. - $Id: p-config.sgml,v 2.72 2011/05/15 10:49:33 fabiankeil Exp $ + $Id: p-config.sgml,v 2.73 2011/06/25 12:45:47 fabiankeil Exp $ Copyright (C) 2001-2010 Privoxy Developers http://www.privoxy.org/ See LICENSE. @@ -97,7 +97,7 @@ Sample Configuration File for Privoxy v&p-version; - $Id: p-config.sgml,v 2.72 2011/05/15 10:49:33 fabiankeil Exp $ + $Id: p-config.sgml,v 2.73 2011/06/25 12:45:47 fabiankeil Exp $ Copyright (C) 2001-2010 Privoxy Developers http://www.privoxy.org/ @@ -2991,6 +2991,71 @@ forward-socks4, forward-socks4a and forward-socks5 +enable-compression + + + Specifies: + + + Whether or not buffered content is compressed before delivery. + + + + + Type of value: + + + 0 or 1 + + + + + Default value: + + 0 + + + + Effect if unset: + + + Privoxy does not compress buffered content. + + + + + Effect if set: + + + Privoxy compresses buffered content before delivering it to the client, + provided the client supports it. + + + + + Notes: + + + This directive is only supported if Privoxy has been compiled with + FEATURE_COMPRESSION, which should not to be confused with FEATURE_ZLIB. + + + Compressing buffered content is mainly useful if Privoxy and the + client are running on different systems. If they are running on the + same system, enabling compression is likely to slow things down. + If you didn't measure otherwise, you should assume that it does + and keep this option disabled. + + + Privoxy will not compress buffered content below a certain length. + + + + +@@#enable-compression 1]]> + + + -- 2.39.2