Close
Social profiles

Initializing Cache Directories in Squid Proxy Server

Initializing Cache Directories in Squid Proxy Server

When you add the new cache_dir, you must initialize the cache directories before you run the squid, to do that issue the following command:

  1. Edit squid.conf and add a new cache_dir line.
  2. Shutdown Squid  squid -k shutdown 
  3. Initialize the new directory by running
     squid -z
  4. Start Squid again

This is the default location of the squid cache dir :

/var/spool/squid

Other Resources :

One thought on “Initializing Cache Directories in Squid Proxy Server”

Leave a Reply

Your email address will not be published. Required fields are marked *

Close