Adding conditional around cache_dir so it is only added if a cache_size ...

...is specified

Squid would not start previously out of the box. This resolves that such that you do not need to set any attributes to get up and running. This behavior matches the default of Squid itself.