April 26, 2024, 12:16:59 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: How to flush squid cache  (Read 7522 times)

Offline ashishraj

  • Linux Noob !
  • *
  • Posts: 19
How to flush squid cache
« on: March 17, 2006, 03:59:52 AM »
hello,
i m using transparent proxy in fedora
how can i flush squid's cache withought stopping squid.

i m new in linux so plz....explain me in brief

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
How to flush squid cache
« Reply #1 on: March 18, 2006, 06:32:18 AM »
well.. its is simple , the way I prefer is just open squid.conf and there i change cache directory to new place. Then run command :
First you need to initialize new directory then
Code: [Select]
path/to/squid -k reconfigure
Now it will use new cache. Now you can safely delete old cache files.

Offline ashishraj

  • Linux Noob !
  • *
  • Posts: 19
How to flush squid cache
« Reply #2 on: March 20, 2006, 04:17:06 AM »
Thank you! Ricky.. :lol: