Use mod_deflate in upstream proxy to unzip content
[httpd-crcsyncproxy.git] / crccache / doc / readme
blobb8ce749d4eaa60347b7ef12fbf6d3ffdb713adcd
1 The test setup I have been using has apache setup as two proxy servers, one on port 8080 and one on 8081.
3 The proxy on port 8080 is set up with mod_crccache_client as a cache provider with 8081 as an upstream proxy for it
5 The proxy on port 8081 is set up with mod_crccache_server and mod_deflate and fetches the pages directly.
7 For debugging it is useful to set max clients to 2 on the apache server so you can gdb attach to the processes if needed.
9 I have been using 
10 http_proxy=http://localhost:8080/ wget http://www.w3.org -S -t 1 -O /dev/null
11 to test the setup.
13 At the moment in the source I have hard coded the cache expiry to 30 seconds so it actually hits the upstream server
14 often enough for testing.
16 How to set-up:
17 See readme.ubuntu for Ubuntu
18 See readme.suse for Suse
20 See TODO for a list of things that are still pending