How to clear Squid cache?
It’s simple, use this command :
# squid -k rotate
This command rotate squid log files but also ‘clear squid cache’, without shutdown and restart squid. This command works in the situation where people have ‘a constant cache’ (refresh/reload a page doesn’t work) in their browser, and ‘clear cache’ without their notice.
What about squid -z?
squid -z is unlikely choice to clear cache if squid run consistently, because you must stop or shutdown squid before using squid -z. I will use squid -z to rebuild squid cache






Leave a Reply