[squid-users] Question on setting up squid with Parent that is off-site?

Amos Jeffries squid3 at treenet.co.nz
Sat Nov 15 08:32:53 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 15/11/2014 9:03 p.m., Michael D. Setzer II wrote:
> Normally, I would download the file on a machine locally, so it was
> in the local squid servers cache, but now that it uses the ISPs
> server as a parent, it didn't seem to cache the file on the local
> server, but only on the ISPs server. Instead of downloading the
> file via the local server via 1000M connection, it seemed to be
> downloading multiple copies through the 20M connection to the ISP
> taking about 30 minutes with about 10 machines downloading the 70+M
> 3.17.3 kernel file from kernel.org?
> 

Run the URL through the tool at http://redbot.org/ to see if there are
any cacheability problems with the response(s).

> Is there an option that would have the local squid server cache a
> file locally thru the parent so other request would come from the
> local squid server.

If your Squid version is new enough use "collapsed_forwarding on".

And DO NOT use the "proxy-only" option on your upstream cache_peer
directive. It will force the local proxy never to cache anything
arriving from that peer.

Amos
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUZw+1AAoJELJo5wb/XPRjzYkH/iCU47EF33oz3VfqjKYM1kN7
biBtlcnzFNmv2ulZg1A44nhqT7RDVCbxM3GFNyUIYq4hvWNWCxH6RjbFRr4yA2Om
3WVLapKKqIJ1NGTjpFDzrb8L5Uhz7Lw7ICSp5SFrdO/G5331vFoLAb7mixchme/U
O4B6v3P1Q4UT4cAA6Y0Ck9PP1cRUwnhtUiDqmyhueLs+2/OkBrv0u64hUx5SC8XL
JwAQEVSfvoX4w64iWBEM5MH99c74XH7zscLa1ixxxyfy+P6vAJ6W4Mq/Dqw8bnFb
a6DA5VJa9Cv+nXoaKPRTDWMazfxwk5zTKuWd8uukAlTuExR5fZzU2LWIv4eHKk8=
=c5NH
-----END PGP SIGNATURE-----


More information about the squid-users mailing list