1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
*** How to tune proxy servers for apt-listbugs
If you want to make your own proxy server tune for apt-listbugs,
edit no_cache and refresh_pattern directives as follows:
acl BTS_QUERY url_regex ^http://hanzubon.debian.gr.jp/cgi-bin/
no_cache allow BTS_QUERY
refresh_pattern ^http://hanzubon.debian.gr.jp/cgi-bin/ 240 30% 1440
This saves all queris at least for 4 hours. The name of master proxy-cache
'hanzubon.debian.gr.jp' may be changed in the future.
*** How to create proxy cache server
Due to reduce accesses to bugs.debian.org, proxy-cache servers should be
used. We can't use normal proxy servers because apt-listbugs calls CGI
script which is slow. The generated html pages don't include the last-modified
information or something like that, then all queries aren't cached.
The 'squid.conf' file in this directory makes squid cache CGI queries by
force for at least 4 hours by using the http_accel feature of squid.
+------------+
| master BTS |
+-----+------+
|
+-----+------+
| proxy cache| * stores old queris for 4 hours and over
+------------+
|| ||
+-------------+ ||
|proxy servers| ||
+-------------+ ||
|| +++++++++++++
|| CLIENTS
||
++++++++++++
CLIENTS with http_proxy environment variable
Masato Taruishi <taru@debian.org>
|