#
-# $Id: cf.data.pre,v 1.178 2000/05/02 21:38:12 hno Exp $
+# $Id: cf.data.pre,v 1.179 2000/05/03 17:15:41 adrian Exp $
#
#
# SQUID Internet Object Cache http://squid.nlanr.net/Squid/
NAME: cache_dir
TYPE: cachedir
DEFAULT: none
-DEFAULT_IF_NONE: ufs @DEFAULT_SWAP_DIR@ 100 16 256
+DEFAULT_IF_NONE: ufs -1 @DEFAULT_SWAP_DIR@ 100 16 256
LOC: Config.cacheSwap
DOC_START
Usage:
- cache_dir Type Directory-Name Mbytes Level-1 Level2
+ cache_dir Type Maxobjsize Directory-Name Mbytes Level-1 Level2
You can specify multiple cache_dir lines to spread the
cache among different disk partitions.
want to try "asyncufs" as the type. Async IO support may be
buggy, however, so beware.
+ Maxobjsize refers to the max object size this storedir supports.
+ It is used to initially choose the storedir to dump the object.
+ -1 means 'any size'.
+
'Directory' is a top-level directory where cache swap
files will be stored. If you want to use an entire disk
for caching, then this can be the mount-point directory.
default is `0' which disables sending the announcement
messages.
+ To enable announcing your cache, just uncomment the line
+ below.
+
NOCOMMENT_START
#To enable announcing your cache, just uncomment the line below.
#announce_period 1 day