summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/apt.conf7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/examples/apt.conf b/doc/examples/apt.conf
index 18292f6f6..061b082dd 100644
--- a/doc/examples/apt.conf
+++ b/doc/examples/apt.conf
@@ -1,4 +1,4 @@
-// $Id: apt.conf,v 1.17 1998/12/06 04:36:33 jgg Exp $
+// $Id: apt.conf,v 1.18 1998/12/06 22:51:14 jgg Exp $
/* This file is an index of all APT configuration directives. It should
NOT actually be used as a real config file, though it is a completely
valid file.
@@ -56,6 +56,11 @@ Acquire
{
Proxy "http://127.0.0.1:3128";
Proxy::http.us.debian.org "DIRECT"; // Specific per-host setting
+
+ // Cache Control. Note these do not work with Squid 2.0.2
+ No-Cache "false";
+ Max-Age "86400"; // 1 Day age on index files
+ No-Store "false"; // Prevent the cache from storing archives
};
cdrom