• 内网内使用https 和 使用http 建立连接的速度对比


    文字版

    使用https

    httpstat https://10.24.101.14/cwbase/web/Login.aspx --insecure
    Connected to 10.24.101.14:443 from 10.24.101.161:59174
    
    HTTP/1.1 200 OK
    Server: nginx/1.15.3
    Date: Mon, 24 Sep 2018 01:03:46 GMT
    Content-Type: text/html; charset=utf-8
    Content-Length: 2580
    Connection: keep-alive
    Cache-Control: private
    X-AspNet-Version: 4.0.30319
    Set-Cookie: GSPWebLanguageKey=zh-CN; expires=Mon, 01-Oct-2018 01:04:46 GMT; path=/cwbase
    X-Powered-By: ASP.NET
    Access-Control-Allow-Credentials: true
    
    Body stored in: /tmp/tmpU9ECzf
    
      DNS Lookup   TCP Connection   TLS Handshake   Server Processing   Content Transfer
    [     0ms    |       1ms      |     63ms      |       18ms        |        0ms       ]
                 |                |               |                   |                  |
        namelookup:0ms            |               |                   |                  |
                            connect:1ms           |                   |                  |
                                        pretransfer:64ms              |                  |
                                                          starttransfer:82ms             |
                                                                                     total:82ms   

    不使用https

     httpstat http://10.24.13.6/cwbase/web/Login.aspx 
    Connected to 10.24.13.6:80 from 10.24.101.161:38612
    
    HTTP/1.1 200 OK
    Cache-Control: private
    Content-Length: 2348
    Content-Type: text/html; charset=utf-8
    Server: Microsoft-IIS/7.5
    X-AspNet-Version: 4.0.30319
    Set-Cookie: GSPWebLanguageKey=zh-CN; expires=Mon, 01-Oct-2018 00:46:17 GMT; path=/cwbase
    X-Powered-By: ASP.NET
    Date: Mon, 24 Sep 2018 00:46:17 GMT
    
    Body stored in: /tmp/tmpjlRNcK
    
      DNS Lookup   TCP Connection   Server Processing   Content Transfer
    [     0ms    |       1ms      |        2ms        |        0ms       ]
                 |                |                   |                  |
        namelookup:0ms            |                   |                  |
                            connect:1ms               |                  |
                                          starttransfer:3ms              |
                                                                     total:3ms    

     反向代理 代理 http 之后的 速度为:

    httpstat http://10.24.101.14:81/cwbase/web/Login.aspx 
    ^[[AConnected to 10.24.101.14:81 from 10.24.101.161:39368
    
    HTTP/1.1 200 OK
    Server: nginx/1.15.3
    Date: Mon, 24 Sep 2018 01:17:50 GMT
    Content-Type: text/html; charset=utf-8
    Content-Length: 2348
    Connection: keep-alive
    Cache-Control: private
    X-AspNet-Version: 4.0.30319
    Set-Cookie: GSPWebLanguageKey=zh-CN; expires=Mon, 01-Oct-2018 01:00:19 GMT; path=/cwbase
    X-Powered-By: ASP.NET
    Access-Control-Allow-Credentials: true
    
    Body stored in: /tmp/tmp6Jtp3b
    
      DNS Lookup   TCP Connection   Server Processing   Content Transfer
    [     0ms    |       1ms      |        4ms        |        0ms       ]
                 |                |                   |                  |
        namelookup:0ms            |                   |                  |
                            connect:1ms               |                  |
                                          starttransfer:5ms              |
                                                                     total:5ms    
  • 相关阅读:
    关于unbox.any castclass ldobj
    SQL 语句 之 增删改查 (一)
    .NET(C#):使用SmtpClient发送带有图片和附件的电子邮件
    Ext.Net 1.2.0_演示 Ext.Net+QRCode 封装条形码控件
    局域网共享打印机(不需要密码)
    Windows 2003单用户单会话登录远程桌面
    不过如此
    CellMerge
    Windows Server 2008服务器支持iso文件下载的方法
    SQL2008 Express 无法打开备份设备 '‘xxxxx'。出现操作系统错误 5(拒绝访问。)。BACKUP DATABASE 正在异常终止。
  • 原文地址:https://www.cnblogs.com/jinanxiaolaohu/p/9694763.html
Copyright © 2020-2023  润新知