Squid HTTPS Tunnelling using CONNECT very slow
I know it is a old question but i had the same problem and solved using this in squid.conf
dns_v4_first on
Regards
Posting this as I think it will be helpful to anyone running squid with a pfSense box. Thanks to Juliano for their answer! The same setting can be found under (in your pfSense box) Services > Squid Proxy Server > General as Resolve DNS IPv4 First
. Below is a screenshot.