In my case, squid is started before DHCP has written a new /etc/resolv.conf
which results in odd errors (timeouts, 504 Gateway) when I try to load a page in the web browser.
As I see it, the correct solution would be to start squid only after dhcpd/NetworkManager/whoever (?) has finished configuring the network.