>
> what's the difference between neighbor and parent option of cache_host?
>
A neighbor proxy can only be queried for objects, if it has that object
it will return it to your proxy. If it doesn't have it, it will ignore
your request.
A parent proxy, if queried, will return to the object from cache, or if it
doesn't have it, will go out and get it for you.
Unless your isps proxy is unreliable or slow, there's probably no point
in having the next tiered ISP proxy in your squid.conf (maybe leave it
commented out just in case).
3128 = http proxy (ie the one you set the browsers too)
3130 = icp proxy (hopefully they've left them at the default)
cache_host proxy.isp.ph parent 3128 3130 weight=10000
cache_host mciproxy.motherisp.ph parent 3128 3130
Also, since you're running on a slow link, it can be helpful to
run the squid "inside_firewall yourlocaldomain.ph", this means that
direct connections such as CGIs are proxied via your isps proxy.
It would be nice to have backup proxy servers (eg backup_cache_host)
which are only used when the frontline proxies are dead, and are not
normally queried.
Received on Mon Sep 30 1996 - 23:36:48 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:33:06 MST