Clearing the cache of squid
Returning to the issue of proxy gateways or internet access we will talk about how to clean or clear the cache (clearing cache) the squid proxy.
An easy way to clean the squid cache is stopping the proxy service and delete all files in the cache directory. For example
deathbian: ~ # squid-k shutdown deathbian: ~ # rm-Rf / var / lib / squid / cache / *
Then recreate the directory structure or swap cache, typing
deathbian: ~ # squid-z
Or simpler still, keyboard only squid-z and restarting squid / etc / init.d / squid start or service squid start or / usr / local / squid / sbin / squid, depending on the installation.
And that's it, you will have more hard disk space to store pages, pictures, video files, music and all kinds in the cache.
Popularity: 5%





























