November 22, 2024, 08:48:06 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: squid client access cache  (Read 8176 times)

Offline sixkiller

  • Linux Noob !
  • *
  • Posts: 7
squid client access cache
« on: February 02, 2004, 10:49:10 PM »
hi all
:?: how can i do to make sure that all my squid can access at the  same cache  
thanks all

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
squid client access cache
« Reply #1 on: February 03, 2004, 07:28:44 AM »
Welll as what you asked it appears to me that you are saying that you have more than one proxy servers on your network and you want all to use  the same cache.. it that is so then add the following line to your squid.conf
Code: [Select]
cache_peer <hostname>  parent 3128 3130 proxy-only In the above code you have to provide hostname of the main proxy machine ,  you can also use ip address there. It will always fetch the cache from that machine and will not store it locally on itself.