Lawrence Wang schrieb:
hi, if i change the size of a cache_dir in squid.conf, do i have to re-initialize the dir with squid -z?
No, if you shrink the size the cache will be adjusted at next restart or -k reconfigure provided the high water mark is reached; if it is full after shrinking squid should adjust immediately via the selected cache replacement policy. If the size grows nothing interesting should happen.
Yours, JC