This article will guide you on steps to #install the Squid proxy server on your #Linux machine. You will also learn how to uninstall the Squid #proxy server in the #Ubuntu #machine and manage Squid services.
Squid is a caching proxy for the Web supporting HTTP, #HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages.
It is most often used in conjunction with a traditional LAMP stack (Linux, Apache, MySQL, PHP), and can be used to filter traffic on #HTTP, FTP, and HTTPS, and increase the speed (thus lower the response time) for a web server via caching.
To clear #squid proxy cache:
- Stop the #httpd and squid services.
- Delete the contents of the cache as follows: # rm -Rf /var/cache/rhn/*
- Restart the squid and httpd services.