Clean squid's cache

How do i clean cache and log files of squid proxy ?
Who is Participating?
GnomusConnect With a Mentor Commented:
simple way

# rm -rf /var/spool/squid/*
# rm -rf /var/log/squid/*
# squid -z
To clean the cache see the Squid FAQ at

The logfiles are in /var/log/squid

(And shame on you for surfing to those sites...:>)
G2MDAuthor Commented:
A day three month ago i erased those directorys, but i had to reinstall Squid for create again its directory structure. I think that for create again the directory structure i have to run squid -z. That's right.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.