How to enable caching on Squid for Windows?

If you are using our installer for Squid for Windows from please follow these steps to enable disk caching. It is assumed the disk cache will be created in d:\squidcachedir folder.

  1. Make sure that the directory d:\squidcachedir exists and empty (create with mkdir command if necessary).

  2. Add the caching directive to the config file squid.config

    cache_dir aufs /cygdrive/d/squidcachedir/cache 3000 16 256
  3. Stop the squid service

  4. Run the squid terminal shortcut on your desktop as administrator and perform the following commands:

    squid.exe -z
  5. Start the squid service again