[squid-users] parent cache information

From: Raj <sunfire2005@dont-contact.us>
Date: Fri, 17 Feb 2006 08:46:54 +1100

Hi All,

I have 2 servers A and B both running Squid 2.5.STABLE10. Server A is
a parent server which is sitting on the DMZ segment. Server B is a
child proxy server which is in LAN (local network). On both servers
below is the cache_dir configuration.

cache_dir ufs /var/squid/cache 400 16 256

I was not the one who configured these proxy servers. I took over
somone else recently. Is it necessary to configure cache_dir on both
the servers. Can I do all the caching on server B (child server). Are
there any benefits if I configure both the servers to cache. How does
this caching work if I have cache_dir enabled on both the servers? If
I access lets say google.com, does the server A caches the URL or both
A & B. Below are the access logs on both the servers

Server A (Parent server):

1140056628.082 25 172.16.1.50 TCP_MISS/200 1221 GET
http://ffxcam.fairfax.com.au/html.ng/site=smh&adspace=100x29 -
DIRECT/203.26.51.50 text/html
1140056628.099 3747 172.16.1.50 TCP_MISS/200 438 GET
http://partners.hotbar.com/partners/GetIDs.dll? -
DIRECT/165.254.12.102 app/x-hotbar-xip20
1140056628.121 13 172.16.1.50 TCP_MISS/304 160 GET
http://fdimages.fairfax.com.au/crtvs/babys-journey-100-29smh.gif -
DIRECT/203.26.51.61 -
1140056628.131 135 172.16.1.50 TCP_MISS/200 14732 GET
http://www.inthemix.com.au/include/menu6/mdata_itmmain.php -
DIRECT/202.58.54.59 text/html
1140056628.159 391 172.16.1.50 TCP_MISS/200 598 GET
http://thomsoneducationdirect.122.2o7.net/b/ss/tedthomsondirectcomau/1/H.2-pdv-2/s06012626239432?
- DIRECT/66.151.244.156 image/gif
1140056628.210 3528 172.16.1.50 TCP_MISS/200 27731 GET
http://www.obrienglass.com.au/resources/bldguarantee.jpg -
DIRECT/217.64.229.226 image/jpeg
1140056628.211 168 172.16.1.50 TCP_MISS/200 267 GET
http://www.google-analytics.com/__utm.gif? - DIRECT/216.239.63.104
image/gif
1140056628.277 1552 172.16.1.50 TCP_MISS/200 468 GET
http://data2.perf.overture.com/collweb/pm.gif? - DIRECT/216.39.104.91
image/gif
1140056628.369 259 172.16.1.50 TCP_MISS/200 465 GET
http://server.iad.liveperson.net/hc/30905001/? - DIRECT/198.65.119.21
image/gif
1140056628.380 21783 172.16.1.50 TCP_MISS/200 6698 CONNECT
sec.yimg.com:443 - DIRECT/66.218.70.70 -

1140056905.360 496 172.26.109.65 TCP_DENIED/403 1438 GET
http://partners.hotbar.com/partners/GetIDs.dll? auloui
FIRST_UP_PARENT/172.26.1.67 text/html
1140056905.434 381 172.26.105.193 TCP_MISS/200 5026 GET

Server B (Child):

http://www.ezibuy.com.au/zoomify/25368/TileGroup0/2-2-0.jpg auhenr
FIRST_UP_PARENT/172.26.1.67 image/jpeg
1140056905.537 9860 172.26.105.72 TCP_MISS/200 863 GET
http://www.harveyworld.com.au/citibank/images/gr_enquiries.gif aubroc
FIRST_UP_PARENT/172.26.1.67 image/gif
1140056905.585 150 172.26.105.193 TCP_MISS/200 7570 GET
http://www.ezibuy.com.au/zoomify/25368/TileGroup0/2-0-1.jpg auhenr
FIRST_UP_PARENT/172.26.1.67 image/jpeg
1140056905.596 653 172.26.108.199 TCP_MISS/200 655 GET
http://zone.msn.com/images/v9/en-us/site/Nielsen.gif? auduid
FIRST_UP_PARENT/172.26.1.67 image/gif

If you look at the above logs Server A goes direct all the time. Does
it mean it is not caching anything eventhough cache_dir is enabled?
What is the best way to configure in this situation? Activate cache on
both the servers or just on server B?

Any help would be really appreciated.
Received on Thu Feb 16 2006 - 14:46:59 MST

This archive was generated by hypermail pre-2.1.9 : Wed Mar 01 2006 - 12:00:03 MST