squid -z

Category: Web Servers & Proxies

squid -z

Create Squid cache directories before first start

Builds the on-disk cache directories declared in squid.conf's cache_dir lines, which must exist before Squid can store objects. Run it once after a fresh install or after changing cache_dir paths. Squid then initializes the cache automatically on startup.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.