Search squid archive

Re: [squid-users] Enforcing Refresh patterns

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



What version of squid are you using?
Native Squid 2.5.STABLE7 under Windows XP

C:\squid\sbin>squid -v
Squid Cache: Version 2.5.STABLE7-NT
configure options: --enable-win32-service --enable-underscores --enable-storeio='ufs awin32 null' --enable-removal-policies='heap lru' --enable-snmp --enable-htcp --disable-wccp --enable-useragent-log --enable-referer-log --enable-auth='basic ntlm digest' --enable-basic-auth-helpers='LDAP ncsa_auth win32_locallogon' --enable-ntlm-auth-helpers=NTLMSSP-WIN32 --enable-external-acl-helpers='win32_group ldap_group' --prefix=c:/squid
Compiled as Windows System Service.



Can you post the full section out of your access.log, of a request where this happens, with
log_mime_hdrs on


(Just post 1 request logged)


Here is a simple web page request, for the image - just search for "edit.gif".


1106658618.290 1015 127.0.0.1 TCP_MISS/200 7944 GET http://10.10.10.100:7778/pob/servlet/Controler? - DIRECT/10.10.10.100 text/html [Accept: */*\r\nAccept-Language: bg\r\nPragma: no-cache\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)\r\nHost: 10.10.10.100:7778\r\nProxy-Connection: Keep-Alive\r\nCookie: JSESSIONID=0524d2c335214438bc8e9353b54b419b.rAzOpRbCmhCNa30Lcybtah0Iah0Iah0Iah0K-xnyb6aL-AnAc3uRaxaPn38I-huKa30xml1KqR9Q-BnDr6XNo64IqR1zmRfMrkOIp6XxmkKxaxiSaNqTawbKpQ8xq6Xw8QfznA5Pp7ftolbGmkTy\r\n] [HTTP/1.1 200 OK\r\nDate: Tue, 25 Jan 2005 13:10:17 GMT\r\nCache-Control: private\r\nServer: Oracle9iAS/9.0.2 Oracle HTTP Server Oracle9iAS-Web-Cache/9.0.2.0.0 (N)\r\nContent-Length: 7428\r\nContent-Type: text/html; charset=windows-1251\r\nSet-Cookie: JSESSIONID=0524d2c335214438bc8e9353b54b419b.rAzOpRbCmhCNa30Lcybtah0Iah0Iah0Iah0K-xnyb6aL-AnAc3uRaxaPn38I-huKa30xml1KqR9Q-BnDr6XNo64IqR1zmRfMrkOIp6XxmkKxaxiSaNqTawbKpQ8xq6Xw8QfznA5Pp7ftolbGmkTy; Path=/\r\nConnection: Close\r\n\r]


1106658618.322 47 127.0.0.1 TCP_MISS/304 302 GET http://10.10.10.100:7778/pob/styles/styles2.css - DIRECT/10.10.10.100 application/octet-stream [Accept: */*\r\nReferer: http://10.10.10.100:7778/pob/servlet/Controler?control=NewForm&DOC_DEF_ID=13\r\nAccept-Language: bg\r\nPragma: no-cache\r\nIf-Modified-Since: Wed, 19 Jan 2005 08:01:14 GMT; length=6740\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)\r\nHost: 10.10.10.100:7778\r\nProxy-Connection: Keep-Alive\r\nCookie: JSESSIONID=0524d2c335214438bc8e9353b54b419b.rAzOpRbCmhCNa30Lcybtah0Iah0Iah0Iah0K-xnyb6aL-AnAc3uRaxaPn38I-huKa30xml1KqR9Q-BnDr6XNo64IqR1zmRfMrkOIp6XxmkKxaxiSaNqTawbKpQ8xq6Xw8QfznA5Pp7ftolbGmkTy\r\n] [HTTP/1.1 304 Not Modified\r\nDate: Tue, 25 Jan 2005 13:10:18 GMT\r\nCache-Control: private\r\nServer: Oracle9iAS/9.0.2 Oracle HTTP Server Oracle9iAS-Web-Cache/9.0.2.0.0 (N)\r\nContent-Length: 0\r\nContent-Type: application/octet-stream\r\nConnection: Close\r\n\r]

1106658618.322 47 127.0.0.1 TCP_MISS/304 302 GET http://10.10.10.100:7778/pob/styles/calendar.css - DIRECT/10.10.10.100 application/octet-stream [Accept: */*\r\nReferer: http://10.10.10.100:7778/pob/servlet/Controler?control=NewForm&DOC_DEF_ID=13\r\nAccept-Language: bg\r\nPragma: no-cache\r\nIf-Modified-Since: Wed, 19 Jan 2005 08:01:14 GMT; length=4765\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)\r\nHost: 10.10.10.100:7778\r\nProxy-Connection: Keep-Alive\r\nCookie: JSESSIONID=0524d2c335214438bc8e9353b54b419b.rAzOpRbCmhCNa30Lcybtah0Iah0Iah0Iah0K-xnyb6aL-AnAc3uRaxaPn38I-huKa30xml1KqR9Q-BnDr6XNo64IqR1zmRfMrkOIp6XxmkKxaxiSaNqTawbKpQ8xq6Xw8QfznA5Pp7ftolbGmkTy\r\n] [HTTP/1.1 304 Not Modified\r\nDate: Tue, 25 Jan 2005 13:10:18 GMT\r\nCache-Control: private\r\nServer: Oracle9iAS/9.0.2 Oracle HTTP Server Oracle9iAS-Web-Cache/9.0.2.0.0 (N)\r\nContent-Length: 0\r\nContent-Type: application/octet-stream\r\nConnection: Close\r\n\r]

1106658618.322 32 127.0.0.1 TCP_MISS/304 216 GET http://10.10.10.100:7778/pob/javascript/autolist.js - DIRECT/10.10.10.100 - [Accept: */*\r\nReferer: http://10.10.10.100:7778/pob/servlet/Controler?control=NewForm&DOC_DEF_ID=13\r\nAccept-Language: bg\r\nPragma: no-cache\r\nIf-Modified-Since: Wed, 19 Jan 2005 08:01:14 GMT; length=1922\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)\r\nHost: 10.10.10.100:7778\r\nProxy-Connection: Keep-Alive\r\nCookie: JSESSIONID=0524d2c335214438bc8e9353b54b419b.rAzOpRbCmhCNa30Lcybtah0Iah0Iah0Iah0K-xnyb6aL-AnAc3uRaxaPn38I-huKa30xml1KqR9Q-BnDr6XNo64IqR1zmRfMrkOIp6XxmkKxaxiSaNqTawbKpQ8xq6Xw8QfznA5Pp7ftolbGmkTy\r\n] [HTTP/1.1 304 Not Modified\r\nDate: Tue, 25 Jan 2005 13:10:18 GMT\r\nAllow: GET, HEAD\r\nServer: Oracle9iAS-Web-Cache/9.0.2.0.0\r\nContent-Length: 0\r\nKeep-Alive: timeout=0, max=999\r\n\r]

1106658618.353 31 127.0.0.1 TCP_MISS/304 216 GET http://10.10.10.100:7778/pob/javascript/functions.js - DIRECT/10.10.10.100 - [Accept: */*\r\nReferer: http://10.10.10.100:7778/pob/servlet/Controler?control=NewForm&DOC_DEF_ID=13\r\nAccept-Language: bg\r\nPragma: no-cache\r\nIf-Modified-Since: Wed, 19 Jan 2005 08:01:14 GMT; length=7905\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)\r\nHost: 10.10.10.100:7778\r\nProxy-Connection: Keep-Alive\r\nCookie: JSESSIONID=0524d2c335214438bc8e9353b54b419b.rAzOpRbCmhCNa30Lcybtah0Iah0Iah0Iah0K-xnyb6aL-AnAc3uRaxaPn38I-huKa30xml1KqR9Q-BnDr6XNo64IqR1zmRfMrkOIp6XxmkKxaxiSaNqTawbKpQ8xq6Xw8QfznA5Pp7ftolbGmkTy\r\n] [HTTP/1.1 304 Not Modified\r\nDate: Tue, 25 Jan 2005 13:10:18 GMT\r\nAllow: GET, HEAD\r\nServer: Oracle9iAS-Web-Cache/9.0.2.0.0\r\nContent-Length: 0\r\nKeep-Alive: timeout=0, max=999\r\n\r]

1106658618.447 94 127.0.0.1 TCP_MISS/304 216 GET http://10.10.10.100:7778/pob/javascript/calendar.js - DIRECT/10.10.10.100 - [Accept: */*\r\nReferer: http://10.10.10.100:7778/pob/servlet/Controler?control=NewForm&DOC_DEF_ID=13\r\nAccept-Language: bg\r\nPragma: no-cache\r\nIf-Modified-Since: Wed, 19 Jan 2005 08:01:14 GMT; length=47240\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)\r\nHost: 10.10.10.100:7778\r\nProxy-Connection: Keep-Alive\r\nCookie: JSESSIONID=0524d2c335214438bc8e9353b54b419b.rAzOpRbCmhCNa30Lcybtah0Iah0Iah0Iah0K-xnyb6aL-AnAc3uRaxaPn38I-huKa30xml1KqR9Q-BnDr6XNo64IqR1zmRfMrkOIp6XxmkKxaxiSaNqTawbKpQ8xq6Xw8QfznA5Pp7ftolbGmkTy\r\n] [HTTP/1.1 304 Not Modified\r\nDate: Tue, 25 Jan 2005 13:10:18 GMT\r\nAllow: GET, HEAD\r\nServer: Oracle9iAS-Web-Cache/9.0.2.0.0\r\nContent-Length: 0\r\nKeep-Alive: timeout=0, max=999\r\n\r]

1106658618.478 31 127.0.0.1 TCP_MISS/304 216 GET http://10.10.10.100:7778/pob/javascript/calendar-setup.js - DIRECT/10.10.10.100 - [Accept: */*\r\nReferer: http://10.10.10.100:7778/pob/servlet/Controler?control=NewForm&DOC_DEF_ID=13\r\nAccept-Language: bg\r\nPragma: no-cache\r\nIf-Modified-Since: Wed, 19 Jan 2005 08:01:14 GMT; length=8302\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)\r\nHost: 10.10.10.100:7778\r\nProxy-Connection: Keep-Alive\r\nCookie: JSESSIONID=0524d2c335214438bc8e9353b54b419b.rAzOpRbCmhCNa30Lcybtah0Iah0Iah0Iah0K-xnyb6aL-AnAc3uRaxaPn38I-huKa30xml1KqR9Q-BnDr6XNo64IqR1zmRfMrkOIp6XxmkKxaxiSaNqTawbKpQ8xq6Xw8QfznA5Pp7ftolbGmkTy\r\n] [HTTP/1.1 304 Not Modified\r\nDate: Tue, 25 Jan 2005 13:10:18 GMT\r\nAllow: GET, HEAD\r\nServer: Oracle9iAS-Web-Cache/9.0.2.0.0\r\nContent-Length: 0\r\nKeep-Alive: timeout=0, max=999\r\n\r]

1106658618.509 31 127.0.0.1 TCP_MISS/304 216 GET http://10.10.10.100:7778/pob/javascript/calendar-bg.js - DIRECT/10.10.10.100 - [Accept: */*\r\nReferer: http://10.10.10.100:7778/pob/servlet/Controler?control=NewForm&DOC_DEF_ID=13\r\nAccept-Language: bg\r\nPragma: no-cache\r\nIf-Modified-Since: Wed, 19 Jan 2005 08:01:14 GMT; length=3645\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)\r\nHost: 10.10.10.100:7778\r\nProxy-Connection: Keep-Alive\r\nCookie: JSESSIONID=0524d2c335214438bc8e9353b54b419b.rAzOpRbCmhCNa30Lcybtah0Iah0Iah0Iah0K-xnyb6aL-AnAc3uRaxaPn38I-huKa30xml1KqR9Q-BnDr6XNo64IqR1zmRfMrkOIp6XxmkKxaxiSaNqTawbKpQ8xq6Xw8QfznA5Pp7ftolbGmkTy\r\n] [HTTP/1.1 304 Not Modified\r\nDate: Tue, 25 Jan 2005 13:10:18 GMT\r\nAllow: GET, HEAD\r\nServer: Oracle9iAS-Web-Cache/9.0.2.0.0\r\nContent-Length: 0\r\nKeep-Alive: timeout=0, max=999\r\n\r]

1106658618.540 31 127.0.0.1 TCP_MISS/304 216 GET http://10.10.10.100:7778/pob/javascript/prepiskiform.js - DIRECT/10.10.10.100 - [Accept: */*\r\nReferer: http://10.10.10.100:7778/pob/servlet/Controler?control=NewForm&DOC_DEF_ID=13\r\nAccept-Language: bg\r\nPragma: no-cache\r\nIf-Modified-Since: Wed, 19 Jan 2005 08:01:14 GMT; length=1064\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)\r\nHost: 10.10.10.100:7778\r\nProxy-Connection: Keep-Alive\r\nCookie: JSESSIONID=0524d2c335214438bc8e9353b54b419b.rAzOpRbCmhCNa30Lcybtah0Iah0Iah0Iah0K-xnyb6aL-AnAc3uRaxaPn38I-huKa30xml1KqR9Q-BnDr6XNo64IqR1zmRfMrkOIp6XxmkKxaxiSaNqTawbKpQ8xq6Xw8QfznA5Pp7ftolbGmkTy\r\n] [HTTP/1.1 304 Not Modified\r\nDate: Tue, 25 Jan 2005 13:10:18 GMT\r\nAllow: GET, HEAD\r\nServer: Oracle9iAS-Web-Cache/9.0.2.0.0\r\nContent-Length: 0\r\nKeep-Alive: timeout=0, max=999\r\n\r]

1106658618.587 47 127.0.0.1 TCP_MISS/304 216 GET http://10.10.10.100:7778/pob/images/edit.gif - DIRECT/10.10.10.100 - [Accept: */*\r\nReferer: http://10.10.10.100:7778/pob/servlet/Controler?control=NewForm&DOC_DEF_ID=13\r\nAccept-Language: bg\r\nPragma: no-cache\r\nIf-Modified-Since: Wed, 19 Jan 2005 08:01:14 GMT; length=141\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)\r\nHost: 10.10.10.100:7778\r\nProxy-Connection: Keep-Alive\r\nCookie: JSESSIONID=0524d2c335214438bc8e9353b54b419b.rAzOpRbCmhCNa30Lcybtah0Iah0Iah0Iah0K-xnyb6aL-AnAc3uRaxaPn38I-huKa30xml1KqR9Q-BnDr6XNo64IqR1zmRfMrkOIp6XxmkKxaxiSaNqTawbKpQ8xq6Xw8QfznA5Pp7ftolbGmkTy\r\n] [HTTP/1.1 304 Not Modified\r\nDate: Tue, 25 Jan 2005 13:10:18 GMT\r\nAllow: GET, HEAD\r\nServer: Oracle9iAS-Web-Cache/9.0.2.0.0\r\nContent-Length: 0\r\nKeep-Alive: timeout=0, max=999\r\n\r]

1106658618.587 15 127.0.0.1 TCP_MISS/304 302 GET http://10.10.10.100:7778/pob/styles/srch_combo.htc - DIRECT/10.10.10.100 application/octet-stream [Accept: */*\r\nCookie: JSESSIONID=0524d2c335214438bc8e9353b54b419b.rAzOpRbCmhCNa30Lcybtah0Iah0Iah0Iah0K-xnyb6aL-AnAc3uRaxaPn38I-huKa30xml1KqR9Q-BnDr6XNo64IqR1zmRfMrkOIp6XxmkKxaxiSaNqTawbKpQ8xq6Xw8QfznA5Pp7ftolbGmkTy\r\nIf-Modified-Since: Wed, 19 Jan 2005 08:01:14 GMT; length=2288\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)\r\nHost: 10.10.10.100:7778\r\nProxy-Connection: Keep-Alive\r\n] [HTTP/1.1 304 Not Modified\r\nDate: Tue, 25 Jan 2005 13:10:18 GMT\r\nCache-Control: private\r\nServer: Oracle9iAS/9.0.2 Oracle HTTP Server Oracle9iAS-Web-Cache/9.0.2.0.0 (N)\r\nContent-Length: 0\r\nContent-Type: application/octet-stream\r\nConnection: Close\r\n\r]

1106658618.603 16 127.0.0.1 TCP_MISS/304 302 GET http://10.10.10.100:7778/pob/styles/srch_combo.htc - DIRECT/10.10.10.100 application/octet-stream [Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/msword, */*\r\nAccept-Language: bg\r\nProxy-Connection: Keep-Alive\r\nIf-Modified-Since: Wed, 19 Jan 2005 08:01:14 GMT; length=2288\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)\r\nHost: 10.10.10.100:7778\r\nPragma: no-cache\r\nCookie: JSESSIONID=0524d2c335214438bc8e9353b54b419b.rAzOpRbCmhCNa30Lcybtah0Iah0Iah0Iah0K-xnyb6aL-AnAc3uRaxaPn38I-huKa30xml1KqR9Q-BnDr6XNo64IqR1zmRfMrkOIp6XxmkKxaxiSaNqTawbKpQ8xq6Xw8QfznA5Pp7ftolbGmkTy\r\n] [HTTP/1.1 304 Not Modified\r\nDate: Tue, 25 Jan 2005 13:10:18 GMT\r\nCache-Control: private\r\nServer: Oracle9iAS/9.0.2 Oracle HTTP Server Oracle9iAS-Web-Cache/9.0.2.0.0 (N)\r\nContent-Length: 0\r\nContent-Type: application/octet-stream\r\nConnection: Close\r\n\r]

1106658618.618 15 127.0.0.1 TCP_MISS/304 302 GET http://10.10.10.100:7778/pob/styles/srch_combo.htc - DIRECT/10.10.10.100 application/octet-stream [Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/msword, */*\r\nAccept-Language: bg\r\nProxy-Connection: Keep-Alive\r\nIf-Modified-Since: Wed, 19 Jan 2005 08:01:14 GMT; length=2288\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)\r\nHost: 10.10.10.100:7778\r\nCookie: JSESSIONID=0524d2c335214438bc8e9353b54b419b.rAzOpRbCmhCNa30Lcybtah0Iah0Iah0Iah0K-xnyb6aL-AnAc3uRaxaPn38I-huKa30xml1KqR9Q-BnDr6XNo64IqR1zmRfMrkOIp6XxmkKxaxiSaNqTawbKpQ8xq6Xw8QfznA5Pp7ftolbGmkTy\r\n] [HTTP/1.1 304 Not Modified\r\nDate: Tue, 25 Jan 2005 13:10:18 GMT\r\nCache-Control: private\r\nServer: Oracle9iAS/9.0.2 Oracle HTTP Server Oracle9iAS-Web-Cache/9.0.2.0.0 (N)\r\nContent-Length: 0\r\nContent-Type: application/octet-stream\r\nConnection: Close\r\n\r]

1106658618.634 16 127.0.0.1 TCP_MISS/304 302 GET http://10.10.10.100:7778/pob/styles/srch_combo.htc - DIRECT/10.10.10.100 application/octet-stream [Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/msword, */*\r\nAccept-Language: bg\r\nProxy-Connection: Keep-Alive\r\nIf-Modified-Since: Wed, 19 Jan 2005 08:01:14 GMT; length=2288\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)\r\nHost: 10.10.10.100:7778\r\nCookie: JSESSIONID=0524d2c335214438bc8e9353b54b419b.rAzOpRbCmhCNa30Lcybtah0Iah0Iah0Iah0K-xnyb6aL-AnAc3uRaxaPn38I-huKa30xml1KqR9Q-BnDr6XNo64IqR1zmRfMrkOIp6XxmkKxaxiSaNqTawbKpQ8xq6Xw8QfznA5Pp7ftolbGmkTy\r\n] [HTTP/1.1 304 Not Modified\r\nDate: Tue, 25 Jan 2005 13:10:18 GMT\r\nCache-Control: private\r\nServer: Oracle9iAS/9.0.2 Oracle HTTP Server Oracle9iAS-Web-Cache/9.0.2.0.0 (N)\r\nContent-Length: 0\r\nContent-Type: application/octet-stream\r\nConnection: Close\r\n\r]

1106658618.650 16 127.0.0.1 TCP_MISS/304 302 GET http://10.10.10.100:7778/pob/styles/srch_combo.htc - DIRECT/10.10.10.100 application/octet-stream [Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/msword, */*\r\nAccept-Language: bg\r\nProxy-Connection: Keep-Alive\r\nIf-Modified-Since: Wed, 19 Jan 2005 08:01:14 GMT; length=2288\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)\r\nHost: 10.10.10.100:7778\r\nCookie: JSESSIONID=0524d2c335214438bc8e9353b54b419b.rAzOpRbCmhCNa30Lcybtah0Iah0Iah0Iah0K-xnyb6aL-AnAc3uRaxaPn38I-huKa30xml1KqR9Q-BnDr6XNo64IqR1zmRfMrkOIp6XxmkKxaxiSaNqTawbKpQ8xq6Xw8QfznA5Pp7ftolbGmkTy\r\n] [HTTP/1.1 304 Not Modified\r\nDate: Tue, 25 Jan 2005 13:10:18 GMT\r\nCache-Control: private\r\nServer: Oracle9iAS/9.0.2 Oracle HTTP Server Oracle9iAS-Web-Cache/9.0.2.0.0 (N)\r\nContent-Length: 0\r\nContent-Type: application/octet-stream\r\nConnection: Close\r\n\r]




----------------------------------

Just for information -  My refresh patten section:

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i .*\.gif$ 12 100% 12 override-expire override-lastmod reload-into-ims ignore-reload
refresh_pattern . 0 20% 4320



Best regards: al_shopov

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux