RE: [squid-users] http_accel question

From: AJ Lemke <aj.lemke@dont-contact.us>
Date: Mon, 1 Oct 2001 14:29:42 -0500

Thank You for your reply.

Here is a part of the log, I have included the corresponding IIS:

IIS Logs:

2001-10-01 19:06:52 208.248.72.245 - 208.248.72.13 80 GET
/Listings/ListingsDealer.cfm DealerID=9 200
Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+NT+4.0)
2001-10-01 19:07:01 208.248.72.245 - 208.248.72.13 80 GET
/Listings/ListingsDealer.cfm DealerID=9 200
Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+NT+4.0)
2001-10-01 19:07:10 208.248.72.245 - 208.248.72.13 80 GET
/Listings/ListingsDealer.cfm DealerID=9 200
Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+NT+4.0)

Squid Access Logs:

208.248.72.17 - - [01/Oct/2001:14:06:53 -0500] "GET
http://cache.cartrucktrader.com/Listings/ListingsDealer.cfm? HTTP/1.1" 200
22412 TCP_MISS:DIRECT [Accept: image/gif, image/x-xbitmap, image/jpeg,
image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel,
application/msword, */*\r\nReferer:
http://cache.cartrucktrader.com/Listings/\r\nAccept-Language:
en-us\r\nAccept-Encoding: gzip, deflate\r\nUser-Agent: Mozilla/4.0
(compatible; MSIE 5.5; Windows NT 4.0)\r\nHost:
cache.cartrucktrader.com\r\nConnection: Keep-Alive\r\nCookie: CFID=3780;
CFTOKEN=31693312\r\n] [HTTP/1.1 200 OK\r\nServer: Microsoft-IIS/5.0\r\nDate:
Mon, 01 Oct 2001 19:06:52 GMT\r\nContent-type:
text/html\nPage-Completion-Status: Normal\nPage-Completion-Status: Normal\n]
208.248.72.17 - - [01/Oct/2001:14:06:53 -0500] "GET
http://cache.cartrucktrader.com/Common/Styles.css HTTP/1.1" 304 198
TCP_IMS_HIT:NONE [Accept: */*\r\nReferer:
http://cache.cartrucktrader.com/Listings/ListingsDealer.cfm?DealerID=9\r\nAc
cept-Language: en-us\r\nAccept-Encoding: gzip, deflate\r\nIf-Modified-Since:
Fri, 10 Nov 2000 13:50:20 GMT; length=423\r\nUser-Agent: Mozilla/4.0
(compatible; MSIE 5.5; Windows NT 4.0)\r\nHost:
cache.cartrucktrader.com\r\nConnection: Keep-Alive\r\nCookie: CFID=3780;
CFTOKEN=31693312\r\n] [HTTP/1.0 304 Not Modified\r\nDate: Fri, 14 Sep 2001
22:55:04 GMT\r\nContent-Type: text/css\r\nLast-Modified: Fri, 10 Nov 2000
13:50:20 GMT\r\n\r]
208.248.72.17 - - [01/Oct/2001:14:06:53 -0500] "GET
http://cache.cartrucktrader.com/Common/Menu.js HTTP/1.1" 304 214
TCP_IMS_HIT:NONE [Accept: */*\r\nReferer:
http://cache.cartrucktrader.com/Listings/ListingsDealer.cfm?DealerID=9\r\nAc
cept-Language: en-us\r\nAccept-Encoding: gzip, deflate\r\nIf-Modified-Since:
Fri, 10 Nov 2000 18:41:05 GMT; length=2474\r\nUser-Agent: Mozilla/4.0
(compatible; MSIE 5.5; Windows NT 4.0)\r\nHost:
cache.cartrucktrader.com\r\nConnection: Keep-Alive\r\nCookie: CFID=3780;
CFTOKEN=31693312\r\n] [HTTP/1.0 304 Not Modified\r\nDate: Fri, 14 Sep 2001
22:55:04 GMT\r\nContent-Type: application/x-javascript\r\nLast-Modified:
Fri, 10 Nov 2000 18:41:05 GMT\r\n\r]

Now this is after we had been to the page and clicked it again or refreshed
and it should have cached it, and not queried the backend server.

Am I wrong in how the acceleration mode of squid works? I figure once you
go to the site the squid box has that page cached for ten minutes then the
squid box went out and retreived it again, as per the refresh pattern.

refresh_pattern . 10 20% 4320 override-expire
override-lastmod ignore-reload reload-into-ims

Anymore insight would be great

AJ
Received on Mon Oct 01 2001 - 13:29:45 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:34 MST