We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

View Complete Thread
  • Re: URL Rewrite Outbound Rules w/ Compression

    Jul 01, 2010 11:44 AM|jedobray|LINK


    Thanks for the reply.  You are correct that I'm using IIS7/ARR/URL Rewrite for the proxy between the client and SharePoint servers.  When I test with Live Headers, I'm bypassing the proxy and sending traffic directly to the SharePoint servers to determine if they are sending compressed responses to the client, which they do not appear to be.  Here is an example request/reply from Live Headers (I've removed the domain name):


    GET /Pages/home.aspx HTTP/1.1
    Host: *******************.org
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20100611 Firefox/3.6.4 ( .NET CLR 3.5.30729)
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Cookie: s_vi=[CS]v1|25A1E52785012F88-6000010B20000F4D[CE]; foresee.repeatdays=90; ISAWPLB{E0DC1DE6-CEDB-42B8-AB16-790992D616A4}={2EB765FE-6CB4-48BF-8D6B-858EAC9432DC}

    HTTP/1.1 200 OK
    Connection: Keep-Alive
    Expires: Mon, 14 Jun 2010 20:30:39 GMT
    Date: Tue, 29 Jun 2010 20:30:39 GMT
    Content-Type: text/html; charset=utf-8
    Server: Microsoft-IIS/6.0
    X-Powered-By: ASP.NET
    X-AspNet-Version: 2.0.50727
    Cache-Control: private, max-age=0
    Last-Modified: Tue, 29 Jun 2010 20:30:39 GMT
    Transfer-Encoding: chunked

    You can see that the client will accept gizp/deflate compression but the SharePoint server is sending a response typ in text/html.  I've reviewed all headers from a page load and none of the responses appear to be coming back to the client compressed.