代码之家  ›  专栏  ›  技术社区  ›  Ray Lu

HTTP头“Via:1.1 nc1(NetCache NetApp/6.0.5P1)”停止IIS6 gzip压缩

  •  1
  • Ray Lu  · 技术社区  · 17 年前

    我发送的请求是accept gzip,但是响应没有被压缩,相反,我收到了一些头

    Via:1.1 nc1 (NetCache NetApp/6.0.5P1)
    

    我想这与我的ISP有关,因为它在我的家用电脑上工作得很好。

    知道如何压缩响应吗?

    请求头

    GET /test.aspx HTTP/1.1
    Host    this.is.example.com
    User-Agent  Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.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  300
    Pragma  no-cache
    Cache-Control   no-cache
    

    响应头

    HTTP/1.1 200 OK
    Date    Mon, 01 Dec 2008 19:53:40 GMT
    Content-Length  6099
    Content-Type    text/html; charset=utf-8
    Cache-Control   private
    Server  Microsoft-IIS/6.0
    X-Powered-By    ASP.NET
    X-AspNet-Version    2.0.50727
    Via 1.1 nc1 (NetCache NetApp/6.0.5P1)
    Expires 0
    Cache-Control   no-cache
    // I expect content-encoding to be gzip here
    

    1 回复  |  直到 17 年前
        1
  •  3
  •   webmarc    17 年前

    您找到的Via头经常由代表您连接到预期Web服务器的代理插入,并且是信息性的。这与你的压力问题无关。

    推荐文章