clearing cache squid
February 20, 2007 at 5:22 am | In Linux Server | 1 Commentjust stop squid, and erase all the files in your cache directory… for example:
Code:
squid -k shutdown
rm -fr /var/lib/squid/cache/*
then re-create the swap directory structure:
Code:
squid -z
then start squid again…
PS: you can also run “squid -z” without first deleting the cache files, and AFAIK that way it creates a new directory structure without wiping-out the old one, but i’m not sure if that’s what happens as i’ve never done it…
1 Comment »
RSS feed for comments on this post.
Leave a comment
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.
boss mo nanya neh
kok cache dihapus kenpa ya..bukannya qt butuh bangt tuh ma cache.
apa ga bisa di akali agar cache itu dihapus yg lama2 az.sdang kan untuk yg baru ttp dipake
Comment by paidjo — December 19, 2007 #