I set up and configured tinyproxy only to discover that performance was horrible. Loading pages with many images was painfully slow.
I tracked the problem down to DNS. I had dnsmasq installed and was using a customized dnsmasq.conf instead of the the default, nvram configration in /etc/init.d/S50dnsmasq. /etc/resolv.conf was symlinked to /tmp/resolv.conf, which in turn was symlinked to /tmp/resolv.conf.auto. The result was that tinyproxy was resolving all addresses using the upstream, ISP nameserver which was very slow.
I deleted the /etc/resolv.conf symlink and recreated /etc/resolv.conf with the following content:
search lan
nameserver 127.0.0.1
tinyproxy is now performing extremely well.
If this is indeed the correct configuration, an update to the dnsmasq wiki page and perhaps the tinyproxy page might be helpful for others. I thought I would post here, first, to ensure I've got my facts straight. ;-)
