分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > 软件开发

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

发布时间:2023-09-06 02:15责任编辑:胡小海关键词:http

文字版

使用https

httpstat https://10.24.101.14/cwbase/web/Login.aspx --insecureConnected to 10.24.101.14:443 from 10.24.101.161:59174HTTP/1.1 200 OKServer: nginx/1.15.3Date: Mon, 24 Sep 2018 01:03:46 GMTContent-Type: text/html; charset=utf-8Content-Length: 2580Connection: keep-aliveCache-Control: privateX-AspNet-Version: 4.0.30319Set-Cookie: GSPWebLanguageKey=zh-CN; expires=Mon, 01-Oct-2018 01:04:46 GMT; path=/cwbaseX-Powered-By: ASP.NETAccess-Control-Allow-Credentials: trueBody 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:38612HTTP/1.1 200 OKCache-Control: privateContent-Length: 2348Content-Type: text/html; charset=utf-8Server: Microsoft-IIS/7.5X-AspNet-Version: 4.0.30319Set-Cookie: GSPWebLanguageKey=zh-CN; expires=Mon, 01-Oct-2018 00:46:17 GMT; path=/cwbaseX-Powered-By: ASP.NETDate: Mon, 24 Sep 2018 00:46:17 GMTBody 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:39368HTTP/1.1 200 OKServer: nginx/1.15.3Date: Mon, 24 Sep 2018 01:17:50 GMTContent-Type: text/html; charset=utf-8Content-Length: 2348Connection: keep-aliveCache-Control: privateX-AspNet-Version: 4.0.30319Set-Cookie: GSPWebLanguageKey=zh-CN; expires=Mon, 01-Oct-2018 01:00:19 GMT; path=/cwbaseX-Powered-By: ASP.NETAccess-Control-Allow-Credentials: trueBody stored in: /tmp/tmp6Jtp3b ?DNS Lookup ??TCP Connection ??Server Processing ??Content Transfer[ ????0ms ???| ??????1ms ?????| ???????4ms ???????| ???????0ms ??????] ????????????| ???????????????| ??????????????????| ?????????????????| ???namelookup:0ms ???????????| ??????????????????| ?????????????????| ???????????????????????connect:1ms ??????????????| ?????????????????| ?????????????????????????????????????starttransfer:5ms ?????????????| ????????????????????????????????????????????????????????????????total:5ms ???

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

原文地址:https://www.cnblogs.com/jinanxiaolaohu/p/9694763.html

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved