November 24, 2024, 01:26:14 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: HOW TO GIVE 10 AND 20 GB CACHE TO MY SQUID CACHE  (Read 5763 times)

Offline ozioma

  • Tux Awared
  • **
  • Posts: 35
HOW TO GIVE 10 AND 20 GB CACHE TO MY SQUID CACHE
« on: September 06, 2004, 08:01:48 AM »
PLEASE HOW CAN I GIVE 10 AND 20 GB CACHE TO MY SQUID CACHE



THANKS
OZIOMA

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
HOW TO GIVE 10 AND 20 GB CACHE TO MY SQUID CACHE
« Reply #1 on: September 06, 2004, 12:16:38 PM »
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 .

Code: [Select]
# 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 .