Re: [squid-users] Squid 3.1 reverse proxy to OWA on IIS7
Hi Okay - sorry I am just using our website as a test - it is on the same server as the exchange box and is reverse proxied. Browse the site and you will see what I mean (how slow it is). Something is going on causing the images to be sent really slowly. www.optimalprofit.com is the website and www.optimalprofit.com/owa is the exchange domain. The exchange login page should be really fast - it take about 4 min to load. If I browse to the site internally it is really fast. I am kind of clucking at straws as to what it wrong. Text comes down fast and images are really slow. SQUID worked a treat with version 2.6, but 2.7, 3.0 and 3.1 all make the reverse proxy really slow. Many thanks Gordon -Original Message- From: Amos Jeffries Sent: Monday, February 28, 2011 9:38 PM To: squid-users@squid-cache.org Subject: Re: [squid-users] Squid 3.1 reverse proxy to OWA on IIS7 On Mon, 28 Feb 2011 16:18:27 -, Gordon McKee wrote: Hi The "GET / HTTP/1.1" returns: GET / HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) Host: www.optimalprofit.com Connection: Close :) I hope not. That is the initial request. and the "GET /images/op-hwynit-ad1.gif HTTP/1.1" to pull an image file returns: HTTP/1.0 200 OK Content-Type: image/gif Content-Encoding: gzip Last-Modified: Wed, 08 Dec 2004 15:34:12 GMT Accept-Ranges: bytes ETag: "a0d3e25d3bddc41:0" Vary: Accept-Encoding Server: Microsoft-IIS/7.0 X-Powered-By: ASP.NET Date: Mon, 28 Feb 2011 16:13:28 GMT Content-Length: 264171 X-Cache: MISS from kursk.gdmckee.home Via: 1.0 kursk.gdmckee.home (squid/3.1.11) Connection: close I have tried the telnet codes to access the OWA folder and the scripts come back very fast and the images take for every. Not sure what is going wrong. It's 258 KB after compression and not being cached. Size may have something to do with it if the scripts are much smaller. Amos
Re: [squid-users] Squid 3.1 reverse proxy to OWA on IIS7
On Mon, 28 Feb 2011 16:18:27 -, Gordon McKee wrote: Hi The "GET / HTTP/1.1" returns: GET / HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) Host: www.optimalprofit.com Connection: Close :) I hope not. That is the initial request. and the "GET /images/op-hwynit-ad1.gif HTTP/1.1" to pull an image file returns: HTTP/1.0 200 OK Content-Type: image/gif Content-Encoding: gzip Last-Modified: Wed, 08 Dec 2004 15:34:12 GMT Accept-Ranges: bytes ETag: "a0d3e25d3bddc41:0" Vary: Accept-Encoding Server: Microsoft-IIS/7.0 X-Powered-By: ASP.NET Date: Mon, 28 Feb 2011 16:13:28 GMT Content-Length: 264171 X-Cache: MISS from kursk.gdmckee.home Via: 1.0 kursk.gdmckee.home (squid/3.1.11) Connection: close I have tried the telnet codes to access the OWA folder and the scripts come back very fast and the images take for every. Not sure what is going wrong. It's 258 KB after compression and not being cached. Size may have something to do with it if the scripts are much smaller. Amos
Re: [squid-users] Squid 3.1 reverse proxy to OWA on IIS7
Hi The "GET / HTTP/1.1" returns: GET / HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) Host: www.optimalprofit.com Connection: Close and the "GET /images/op-hwynit-ad1.gif HTTP/1.1" to pull an image file returns: HTTP/1.0 200 OK Content-Type: image/gif Content-Encoding: gzip Last-Modified: Wed, 08 Dec 2004 15:34:12 GMT Accept-Ranges: bytes ETag: "a0d3e25d3bddc41:0" Vary: Accept-Encoding Server: Microsoft-IIS/7.0 X-Powered-By: ASP.NET Date: Mon, 28 Feb 2011 16:13:28 GMT Content-Length: 264171 X-Cache: MISS from kursk.gdmckee.home Via: 1.0 kursk.gdmckee.home (squid/3.1.11) Connection: close I have tried the telnet codes to access the OWA folder and the scripts come back very fast and the images take for every. Not sure what is going wrong. Many thanks Gordon -Original Message- From: Amos Jeffries Sent: Monday, February 28, 2011 12:19 AM To: squid-users@squid-cache.org Subject: Re: [squid-users] Squid 3.1 reverse proxy to OWA on IIS7 On Sun, 27 Feb 2011 17:19:33 -, Gordon McKee wrote: Hi I had FreeBSD 6.3 and squid 2.6 running fine reverse proxying my OWA server. I have now upgraded to FreeBSD 8 and squid 3.1 as the old software was getting rather old. I have copied the config file off the old server on the the new server. All is working except OWA. The images come down very very slowly (it does work really slowly). I was thinking it might be a DNS issue, but if I telnet (outside network) to www.optimalprofit.com 80 and enter: GET / HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) Host: www.optimalprofit.com Connection: Close the page comes back really fast, but if I telnet to www.optimalprofit.com 80 and enter (to get a gif file off the server): GET /images/op-hwynit-ad1.gif HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) Host: www.optimalprofit.com Connection: Close the text comes back really really slowly. I am not sure what is wrong as even my mobile connects in and over active sync and picks up my emails just fine. I have tried different browsers and they don't make any difference. What are the reply headers for each of these tests? Amos
Re: [squid-users] Squid 3.1 reverse proxy to OWA on IIS7
On Sun, 27 Feb 2011 17:19:33 -, Gordon McKee wrote: Hi I had FreeBSD 6.3 and squid 2.6 running fine reverse proxying my OWA server. I have now upgraded to FreeBSD 8 and squid 3.1 as the old software was getting rather old. I have copied the config file off the old server on the the new server. All is working except OWA. The images come down very very slowly (it does work really slowly). I was thinking it might be a DNS issue, but if I telnet (outside network) to www.optimalprofit.com 80 and enter: GET / HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) Host: www.optimalprofit.com Connection: Close the page comes back really fast, but if I telnet to www.optimalprofit.com 80 and enter (to get a gif file off the server): GET /images/op-hwynit-ad1.gif HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) Host: www.optimalprofit.com Connection: Close the text comes back really really slowly. I am not sure what is wrong as even my mobile connects in and over active sync and picks up my emails just fine. I have tried different browsers and they don't make any difference. What are the reply headers for each of these tests? Amos