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

文字版

使用https

httpstat https://10.24.101.14/cwbase/web/Login.aspx --insecure
Connected to 10.24.101.14: from 10.24.101.161: HTTP/1.1 OK
Server: nginx/1.15.
Date: Mon, Sep :: GMT
Content-Type: text/html; charset=utf-
Content-Length:
Connection: keep-alive
Cache-Control: private
X-AspNet-Version: 4.0.
Set-Cookie: GSPWebLanguageKey=zh-CN; expires=Mon, -Oct- :: 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: from 10.24.101.161: HTTP/1.1 OK
Cache-Control: private
Content-Length:
Content-Type: text/html; charset=utf-
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.
Set-Cookie: GSPWebLanguageKey=zh-CN; expires=Mon, -Oct- :: GMT; path=/cwbase
X-Powered-By: ASP.NET
Date: Mon, Sep :: 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: from 10.24.101.161: HTTP/1.1 OK
Server: nginx/1.15.
Date: Mon, Sep :: GMT
Content-Type: text/html; charset=utf-
Content-Length:
Connection: keep-alive
Cache-Control: private
X-AspNet-Version: 4.0.
Set-Cookie: GSPWebLanguageKey=zh-CN; expires=Mon, -Oct- :: 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
05-06 06:43