Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Network Troublshooting => Linux Servers Support => Topic started by: ozioma on September 06, 2004, 08:01:48 AM
-
PLEASE HOW CAN I GIVE 10 AND 20 GB CACHE TO MY SQUID CACHE
THANKS
OZIOMA
-
first of all decide a place or HD that will be used as cache, if you are serious then consider a separate Hard disk for cache. Say I have a disk of 20 GB mounted under /cache then to use it you have to modify squid.conf .
# use to set where to store cache. here it is /cache of size 2048 MB.
# Here 22 and 256 are used to define directory structure so you don't have to touch it.
cache_dir ufs /cache 22 256 20480
here 20480 is the 20 GB . ie it is in MB .