[squid-users] Slow access to web site using squid and Internet explorer.

From: Don <dkynyc_at_gmail.com>
Date: Sun, 4 Apr 2010 16:00:45 -0400

Hello all, I am trying to troubleshoot an issue I am stuck on.  We
have a website that is loading .htm documents extremely slow when
using Internet Explorer 8 behind Squid.  When we bypass the proxy and
go directly out to the internet all is fast and pages load fine.  But
when the proxy is on documents will take sometimes up to 6 minutes to
load.  This issue is only apparent using Internet explorer 8.  I do
not see the issue when using firefox with Squid.  I have tried to use
the no_cache directive thinking it may have been the cache but that
didn't work either.  I am attaching our access.log, store.log and
squid.conf.  Can anyone see what is going on here?  I have been
stumped for a week solid.

store.log

Wed Mar 31 06:10:35 2010 RELEASE -1 FFFFFFFF
A36B60438D93991E458DE08228DEB8AB    0        -1        -1        -1
unknown -1/0 GET http://example.exmp.com/NSValidation.js
Wed Mar 31 06:10:35 2010 RELEASE -1 FFFFFFFF
17A9A4E4A51DEF4D34825040A9A79C78    0        -1        -1        -1
unknown -1/0 GET http://example.exmp.com/NSWebForms.js
Wed Mar 31 06:10:35 2010 RELEASE -1 FFFFFFFF
E22614CB42B208827CD18D8027B51E24  200 1270410086        -1        -1
text/html 24383/24383 GET http://example.exmp.com/PICDetail.aspx?
Wed Mar 31 06:10:35 2010 RELEASE -1 FFFFFFFF
ADDF15CC03D667D6A39014CEF9B4D7AC  404 1270409537        -1        -1
text/html 1635/1635 GET http://example.exmp.com/NSWebForms.js
Wed Mar 31 06:10:35 2010 RELEASE -1 FFFFFFFF
651D0D8763381B9F3F4EDF81A7DD2D35  404 1270409537        -1        -1
text/html 1635/1635 GET http://example.exmp.com/NSValidation.js
Wed Mar 31 06:10:35 2010 RELEASE -1 FFFFFFFF
B7CEF234ADE17CDDA59C871206B5953F    0        -1        -1        -1
unknown -1/0 GET http://example.exmp.com/wdocs/librarian.js
Wed Mar 31 06:10:35 2010 RELEASE -1 FFFFFFFF
806BDF950CFB9C5F45028A475E8570F7  404 1270409537        -1        -1
text/html 1635/1635 GET http://example.exmp.com/wdocs/librarian.js
Wed Mar 31 06:10:37 2010 RELEASE 00 00000188
F3408625B208BEB08F30778CFA480D6E  200 1270409539 1249504825        -1
text/html 170909/0 HEAD
http://example.exmp.com/wdocs/8900.1/v03%20tech%20admin/chapter%2054/03_054_006.htm
Wed Mar 31 06:10:37 2010 SWAPOUT 00 0000018E
F3408625B208BEB08F30778CFA480D6E  200 1270410087 1249504825        -1
text/html 170909/0 HEAD
http://example.exmp.com/wdocs/8900.1/v03%20tech%20admin/chapter%2054/03_054_006.htm
Wed Mar 31 06:11:38 2010 RELEASE 00 00000189
57CA163F116044F7A702084D937C73DF  200 1270409599 1239994150        -1
text/html 170461/0 HEAD
http://example.exmp.com/wdocs/8900.1/v03%20tech%20admin/chapter%2019/03_019_005.htm
Wed Mar 31 06:11:38 2010 SWAPOUT 00 0000018F
57CA163F116044F7A702084D937C73DF  200 1270410149 1239994150        -1
text/html 170461/0 HEAD
http://example.exmp.com/wdocs/8900.1/v03%20tech%20admin/chapter%2019/03_019_005.htm
Wed Mar 31 06:12:38 2010 RELEASE 00 0000018A
7121856257D2BD25F321B8B7A804A286  200 1270409660 1268334834        -1
text/html 97961/0 HEAD
http://example.exmp.com/wdocs/8900.1/v03%20tech%20admin/chapter%2020/03_020_001.htm
Wed Mar 31 06:12:38 2010 SWAPOUT 00 00000190
7121856257D2BD25F321B8B7A804A286  200 1270410209 1268334834        -1
text/html 97961/0 HEAD
http://example.exmp.com/wdocs/8900.1/v03%20tech%20admin/chapter%2020/03_020_001.htm
Wed Mar 31 06:13:39 2010 RELEASE 00 0000018B
E420417DAA8FCE586A0B029E9716EE83  200 1270409722 1239986974        -1
text/html 94338/0 HEAD
http://example.exmp.com/wdocs/8900.1/v03%20tech%20admin/chapter%2019/03_019_001.htm
Wed Mar 31 06:13:39 2010 SWAPOUT 00 00000191
E420417DAA8FCE586A0B029E9716EE83  200 1270410269 1239986974        -1
text/html 94338/0 HEAD
http://example.exmp.com/wdocs/8900.1/v03%20tech%20admin/chapter%2019/03_019_001.htm
Wed Mar 31 06:14:40 2010 RELEASE 00 0000018C
D930491EC8FAC335130396678E1E62BA  200 1270409782 1253121400        -1
text/html 36090/0 HEAD
http://example.exmp.com/wdocs/8900.1/v03%20tech%20admin/chapter%2001/03_001_001.htm
Wed Mar 31 06:14:40 2010 SWAPOUT 00 00000192
D930491EC8FAC335130396678E1E62BA  200 1270410330 1253121400        -1
text/html 36090/0 HEAD
http://example.exmp.com/wdocs/8900.1/v03%20tech%20admin/chapter%2001/03_001_001.htm
Wed Mar 31 06:15:41 2010 RELEASE 00 0000018D
B4F1E724EB3ABA6BDD446420E71E94CA  200 1270409842 1267112790        -1
text/html 34397/0 HEAD
http://example.exmp.com/wdocs/8900.1/v03%20tech%20admin/chapter%2028/03_028_001.htm
Wed Mar 31 06:15:41 2010 SWAPOUT 00 00000193
B4F1E724EB3ABA6BDD446420E71E94CA  200 1270410392 1267112790        -1
text/html 34397/0 HEAD
http://example.exmp.com/wdocs/8900.1/v03%20tech%20admin/chapter%2028/03_028_001.htm

access.log

ed Mar 31 06:10:35 2010     64 192.168.2.241 TCP_MISS/000 0 GET
http://example.exmp.com/NSValidation.js - DIRECT/162.58.34.7 -
[Accept: */*\r\nReferer:
http://example.exmp.com/PICDetail.aspx?docId=BC48242830F9A8FA862573D0006CB2EF\r\nAccept-Language:
en-us\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT
5.1; Trident/4.0)\r\nAccept-Encoding: gzip, deflate\r\nHost:
example.exmp.com\r\nProxy-Connection: Keep-Alive\r\nCookie:
ASP.NET_SessionId=lw5cvyfkwuxbcm55cka43yek\r\n] []
Wed Mar 31 06:10:35 2010     67 192.168.2.241 TCP_MISS/000 0 GET
http://example.exmp.com/NSWebForms.js - DIRECT/162.58.34.7 - [Accept:
*/*\r\nReferer:
http://example.exmp.com/PICDetail.aspx?docId=BC48242830F9A8FA862573D0006CB2EF\r\nAccept-Language:
en-us\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT
5.1; Trident/4.0)\r\nAccept-Encoding: gzip, deflate\r\nHost:
example.exmp.com\r\nProxy-Connection: Keep-Alive\r\nCookie:
ASP.NET_SessionId=lw5cvyfkwuxbcm55cka43yek\r\n] []
Wed Mar 31 06:10:35 2010    522 192.168.2.241 TCP_MISS/200 24679 GET
http://example.exmp.com/PICDetail.aspx? - DIRECT/162.58.34.7 text/html
[Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg,
application/x-shockwave-flash, */*\r\nReferer:
http://example.exmp.com/PICResults.aspx?mode=EBookContents\r\nAccept-Language:
en-us\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT
5.1; Trident/4.0)\r\nAccept-Encoding: gzip, deflate\r\nHost:
example.exmp.com\r\nProxy-Connection: Keep-Alive\r\nCookie:
ASP.NET_SessionId=lw5cvyfkwuxbcm55cka43yek\r\n] [HTTP/1.1 200
OK\r\nConnection: keep-alive\r\nDate: Sun, 04 Apr 2010 19:41:26
GMT\r\nServer: Microsoft-IIS/6.0\r\nX-Powered-By:
ASP.NET\r\nX-AspNet-Version: 2.0.50727\r\nCache-Control:
private\r\nContent-Type: text/html; charset=utf-8\r\nContent-Length:
24383\r\n\r]
Wed Mar 31 06:10:35 2010    179 192.168.2.241 TCP_MISS/404 1864 GET
http://example.exmp.com/NSWebForms.js - DIRECT/162.58.34.7 text/html
[Accept: */*\r\nReferer:
http://example.exmp.com/PICDetail.aspx?docId=BC48242830F9A8FA862573D0006CB2EF\r\nAccept-Language:
en-us\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT
5.1; Trident/4.0)\r\nAccept-Encoding: gzip, deflate\r\nHost:
example.exmp.com\r\nProxy-Connection: Keep-Alive\r\nCookie:
ASP.NET_SessionId=lw5cvyfkwuxbcm55cka43yek\r\n] [HTTP/1.1 404 Not
Found\r\nContent-Length: 1635\r\nContent-Type: text/html\r\nServer:
Microsoft-IIS/6.0\r\nX-Powered-By: ASP.NET\r\nDate: Sun, 04 Apr 2010
19:41:26 GMT\r\nConnection: keep-alive\r\n\r]
Wed Mar 31 06:10:35 2010    180 192.168.2.241 TCP_MISS/404 1864 GET
http://example.exmp.com/NSValidation.js - DIRECT/162.58.34.7 text/html
[Accept: */*\r\nReferer:
http://example.exmp.com/PICDetail.aspx?docId=BC48242830F9A8FA862573D0006CB2EF\r\nAccept-Language:
en-us\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT
5.1; Trident/4.0)\r\nAccept-Encoding: gzip, deflate\r\nHost:
example.exmp.com\r\nProxy-Connection: Keep-Alive\r\nCookie:
ASP.NET_SessionId=lw5cvyfkwuxbcm55cka43yek\r\n] [HTTP/1.1 404 Not
Found\r\nContent-Length: 1635\r\nContent-Type: text/html\r\nServer:
Microsoft-IIS/6.0\r\nX-Powered-By: ASP.NET\r\nDate: Sun, 04 Apr 2010
19:41:26 GMT\r\nConnection: keep-alive\r\n\r]
Wed Mar 31 06:10:35 2010      5 192.168.2.241 TCP_MISS/000 0 GET
http://example.exmp.com/wdocs/librarian.js - DIRECT/162.58.34.7 -
[Accept: */*\r\nReferer:
http://example.exmp.com/wdocs/8900.1/v03%2520tech%2520admin/chapter%252054/03_054_005.htm\r\nAccept-Language:
en-us\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT
5.1; Trident/4.0)\r\nAccept-Encoding: gzip, deflate\r\nHost:
example.exmp.com\r\nProxy-Connection: Keep-Alive\r\nCookie:
ASP.NET_SessionId=lw5cvyfkwuxbcm55cka43yek\r\n] []
Wed Mar 31 06:10:36 2010    109 192.168.2.241 TCP_MISS/404 1864 GET
http://example.exmp.com/wdocs/librarian.js - DIRECT/162.58.34.7
text/html [Accept: */*\r\nReferer:
http://example.exmp.com/wdocs/8900.1/v03%2520tech%2520admin/chapter%252054/03_054_005.htm\r\nAccept-Language:
en-us\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT
5.1; Trident/4.0)\r\nAccept-Encoding: gzip, deflate\r\nHost:
example.exmp.com\r\nProxy-Connection: Keep-Alive\r\nCookie:
ASP.NET_SessionId=lw5cvyfkwuxbcm55cka43yek\r\n] [HTTP/1.1 404 Not
Found\r\nContent-Length: 1635\r\nContent-Type: text/html\r\nServer:
Microsoft-IIS/6.0\r\nX-Powered-By: ASP.NET\r\nDate: Sun, 04 Apr 2010
19:41:26 GMT\r\nConnection: keep-alive\r\n\r]
Wed Mar 31 06:10:37 2010    106 192.168.2.241
TCP_CLIENT_REFRESH_MISS/200 326 HEAD
http://example.exmp.com/wdocs/8900.1/v03%20tech%20admin/chapter%2054/03_054_006.htm
- DIRECT/162.58.34.7 text/html [Accept: */*\r\nAccept-Language:
en-us\r\nReferer:
http://example.exmp.com/wdocs/8900.1/v03%2520tech%2520admin/chapter%252054/03_054_005.htm\r\nAccept-Encoding:
gzip, deflate\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0;
Windows NT 5.1; Trident/4.0)\r\nHost:
example.exmp.com\r\nContent-Length: 0\r\nProxy-Connection:
Keep-Alive\r\nPragma: no-cache\r\nCookie:
ASP.NET_SessionId=lw5cvyfkwuxbcm55cka43yek\r\n] [HTTP/1.1 200
OK\r\nContent-Length: 170909\r\nContent-Type:
text/html\r\nLast-Modified: Wed, 05 Aug 2009 20:40:25
GMT\r\nAccept-Ranges: bytes\r\nETag: "9085e7f5c16ca1:1174"\r\nServer:
Microsoft-IIS/6.0\r\nX-Powered-By: ASP.NET\r\nDate: Sun, 04 Apr 2010
19:41:27 GMT\r\nConnection: keep-alive\r\n\r]
Wed Mar 31 06:11:38 2010     68 192.168.2.241
TCP_CLIENT_REFRESH_MISS/200 326 HEAD
http://example.exmp.com/wdocs/8900.1/v03%20tech%20admin/chapter%2019/03_019_005.htm
- DIRECT/162.58.34.7 text/html [Accept: */*\r\nAccept-Language:
en-us\r\nReferer:
http://example.exmp.com/wdocs/8900.1/v03%2520tech%2520admin/chapter%252054/03_054_005.htm\r\nAccept-Encoding:
gzip, deflate\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0;
Windows NT 5.1; Trident/4.0)\r\nHost:
example.exmp.com\r\nContent-Length: 0\r\nProxy-Connection:
Keep-Alive\r\nPragma: no-cache\r\nCookie:
ASP.NET_SessionId=lw5cvyfkwuxbcm55cka43yek\r\n] [HTTP/1.1 200
OK\r\nContent-Length: 170461\r\nContent-Type:
text/html\r\nLast-Modified: Fri, 17 Apr 2009 18:49:10
GMT\r\nAccept-Ranges: bytes\r\nETag: "05796318dbfc91:1174"\r\nServer:
Microsoft-IIS/6.0\r\nX-Powered-By: ASP.NET\r\nDate: Sun, 04 Apr 2010
19:42:29 GMT\r\nConnection: keep-alive\r\n\r]
Wed Mar 31 06:12:38 2010     64 192.168.2.241
TCP_CLIENT_REFRESH_MISS/200 325 HEAD
http://example.exmp.com/wdocs/8900.1/v03%20tech%20admin/chapter%2020/03_020_001.htm
- DIRECT/162.58.34.7 text/html [Accept: */*\r\nAccept-Language:
en-us\r\nReferer:
http://example.exmp.com/wdocs/8900.1/v03%2520tech%2520admin/chapter%252054/03_054_005.htm\r\nAccept-Encoding:
gzip, deflate\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0;
Windows NT 5.1; Trident/4.0)\r\nHost:
example.exmp.com\r\nContent-Length: 0\r\nProxy-Connection:
Keep-Alive\r\nPragma: no-cache\r\nCookie:
ASP.NET_SessionId=lw5cvyfkwuxbcm55cka43yek\r\n] [HTTP/1.1 200
OK\r\nContent-Length: 97961\r\nContent-Type:
text/html\r\nLast-Modified: Thu, 11 Mar 2010 19:13:54
GMT\r\nAccept-Ranges: bytes\r\nETag: "0c59cfd4ec1ca1:1174"\r\nServer:
Microsoft-IIS/6.0\r\nX-Powered-By: ASP.NET\r\nDate: Sun, 04 Apr 2010
19:43:29 GMT\r\nConnection: keep-alive\r\n\r]
Wed Mar 31 06:13:39 2010     93 192.168.2.241
TCP_CLIENT_REFRESH_MISS/200 325 HEAD
http://example.exmp.com/wdocs/8900.1/v03%20tech%20admin/chapter%2019/03_019_001.htm
- DIRECT/162.58.34.7 text/html [Accept: */*\r\nAccept-Language:
en-us\r\nReferer:
http://example.exmp.com/wdocs/8900.1/v03%2520tech%2520admin/chapter%252054/03_054_005.htm\r\nAccept-Encoding:
gzip, deflate\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0;
Windows NT 5.1; Trident/4.0)\r\nHost:
example.exmp.com\r\nContent-Length: 0\r\nProxy-Connection:
Keep-Alive\r\nPragma: no-cache\r\nCookie:
ASP.NET_SessionId=lw5cvyfkwuxbcm55cka43yek\r\n] [HTTP/1.1 200
OK\r\nContent-Length: 94338\r\nContent-Type:
text/html\r\nLast-Modified: Fri, 17 Apr 2009 16:49:34
GMT\r\nAccept-Ranges: bytes\r\nETag: "0a35b7c7cbfc91:1174"\r\nServer:
Microsoft-IIS/6.0\r\nX-Powered-By: ASP.NET\r\nDate: Sun, 04 Apr 2010
19:44:29 GMT\r\nConnection: keep-alive\r\n\r]
Wed Mar 31 06:14:40 2010     73 192.168.2.241
TCP_CLIENT_REFRESH_MISS/200 325 HEAD
http://example.exmp.com/wdocs/8900.1/v03%20tech%20admin/chapter%2001/03_001_001.htm
- DIRECT/162.58.34.7 text/html [Accept: */*\r\nAccept-Language:
en-us\r\nReferer:
http://example.exmp.com/wdocs/8900.1/v03%2520tech%2520admin/chapter%252054/03_054_005.htm\r\nAccept-Encoding:
gzip, deflate\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0;
Windows NT 5.1; Trident/4.0)\r\nHost:
example.exmp.com\r\nContent-Length: 0\r\nProxy-Connection:
Keep-Alive\r\nPragma: no-cache\r\nCookie:
ASP.NET_SessionId=lw5cvyfkwuxbcm55cka43yek\r\n] [HTTP/1.1 200
OK\r\nContent-Length: 36090\r\nContent-Type:
text/html\r\nLast-Modified: Wed, 16 Sep 2009 17:16:40
GMT\r\nAccept-Ranges: bytes\r\nETag: "08c5174f136ca1:1174"\r\nServer:
Microsoft-IIS/6.0\r\nX-Powered-By: ASP.NET\r\nDate: Sun, 04 Apr 2010
19:45:30 GMT\r\nConnection: keep-alive\r\n\r]
Wed Mar 31 06:15:41 2010     74 192.168.2.241
TCP_CLIENT_REFRESH_MISS/200 325 HEAD
http://example.exmp.com/wdocs/8900.1/v03%20tech%20admin/chapter%2028/03_028_001.htm
- DIRECT/162.58.34.7 text/html [Accept: */*\r\nAccept-Language:
en-us\r\nReferer:
http://example.exmp.com/wdocs/8900.1/v03%2520tech%2520admin/chapter%252054/03_054_005.htm\r\nAccept-Encoding:
gzip, deflate\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0;
Windows NT 5.1; Trident/4.0)\r\nHost:
example.exmp.com\r\nContent-Length: 0\r\nProxy-Connection:
Keep-Alive\r\nPragma: no-cache\r\nCookie:
ASP.NET_SessionId=lw5cvyfkwuxbcm55cka43yek\r\n] [HTTP/1.1 200
OK\r\nContent-Length: 34397\r\nContent-Type:
text/html\r\nLast-Modified: Thu, 25 Feb 2010 15:46:30
GMT\r\nAccept-Ranges: bytes\r\nETag: "08fa0b231b6ca1:1174"\r\nServer:
Microsoft-IIS/6.0\r\nX-Powered-By: ASP.NET\r\nDate: Sun, 04 Apr 2010
19:46:32 GMT\r\nConnection: keep-alive\r\n\r]

squid.conf

hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
refresh_pattern ^ftp:        1440    20%    10080
refresh_pattern ^gopher:    1440    0%    1440
refresh_pattern .        0    20%    4320
acl corpnet src 192.168.0.0/16
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80        # http
acl Safe_ports port 21        # ftp
acl Safe_ports port 443 563    # https, snews
acl Safe_ports port 70        # gopher
acl Safe_ports port 210        # wais
acl Safe_ports port 1025-65535    # unregistered ports
acl Safe_ports port 280        # http-mgmt
acl Safe_ports port 488        # gss-http
acl Safe_ports port 591        # filemaker
acl Safe_ports port 777        # multiling http
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow corpnet
http_access deny all
http_reply_access allow all
icp_access allow all
coredump_dir /var/spool/squid
log_mime_hdrs on

Thanks
Received on Sun Apr 04 2010 - 20:00:53 MDT

This archive was generated by hypermail 2.2.0 : Mon Apr 05 2010 - 12:00:03 MDT