It’s simple, use this command :
# squid -k rotate
This command will rotate squid log files and ‘clear squid cache’ without shutdown and restart squid. This command works in the situation where people have ‘constant cache’ (refresh/reload a page doesn’t work) in their browser
What about squid -z?
squid -z is a command to clear cache after you stopped or shutdown squid. I will use squid -z to rebuild squid cache
Related posts:





[...] Squid -k rotate just a way to ‘clear squid cache’ although it doesn’t clear squid cache (a real cache). But it helps when browsers ’stuck’ with caches (refresh/reload pages doesn’t work) [...]
[...] -k rotate to clear squid cache Blog, Linux, freeBSD•on October 20th, 2007•1 CommentSquid -k rotate to ‘clear squid cache’This description from Squid FAQ Cache/Log (Squid 1.x) or Swap.State (Squid 2.x) This file has a [...]