From 0a9a94e90b556e66c1e9ab23c419200977e09270 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Thu, 25 Oct 2018 15:13:52 +0200 Subject: [PATCH] Document delay-response{} --- doc/source/user-manual.sgml | 70 +++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/doc/source/user-manual.sgml b/doc/source/user-manual.sgml index b6f663ea..a227801a 100644 --- a/doc/source/user-manual.sgml +++ b/doc/source/user-manual.sgml @@ -3659,6 +3659,76 @@ new action + + + +delay-response + + + + Typical use: + + Delay responses to the client to reduce the load + + + + + Effect: + + + Delays responses to the client by sending the response in ca. 10 byte chunks. + + + + + + Type: + + + Parameterized. + + + + + Parameter: + + + Number of milliseconds + + + + + + Notes: + + + Sometimes when JavaScript code is used to fetch advertisements + it doesn't respect Privoxy's blocks and retries to fetch the + same resource again causing unnecessary load on the client. + + + This action delays responses to the client and can be combined + with blocks + to slow down the JavaScript code, thus reducing + the load on the client. + + + When used without blocks + the action can also be used to simulate a slow internet connection. + + + + + + Example usage: + + +delay-response{100} + + + + + + downgrade-http-version -- 2.39.2