2011-03-02 41 views
4

我遇到了一個問題,其中頁面似乎需要大約8秒才能加載,原因不明。Firebug net標籤報告的長頁面接收時間(頁面加載緩慢)

正如你在this screenshot看到,所有的頁面加載787-8之前良好,絕大多數的加載時間資源被公佈在網頁本身的「接收」的階段。

這是什麼原因造成的?

有人建議由於錯誤的文件編碼可能會錯誤地報告內容長度標題,但檢查了標題後,我看不到內容長度集,這可能是原因嗎?

一個例子頭如下:

Date: Wed, 02 Mar 2011 09:20:42 GMT 
Server: Apache 
X-Powered-By: PHP/5.2.6 
Expires: Mon, 26 Jul 1997 05:00:00 GMT 
Last-Modified: Wed, 02 Mar 2011 09:20:42 GMT 
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 
Pragma: no-cache 
P3P: CP="NON CURa ADMa DEVa TAIa CONi OUR DELa BUS IND PHY ONL UNI PUR COM NAV DEM STA" 
Set-Cookie: xid=025d2e1ac48dcb568d4dd35d79a5b726; path=/; domain=www.xxx.xx.xx; httponly 
xid=025d2e1ac48dcb568d4dd35d79a5b726; path=/; domain=www.xxx.xx.xx; httponly 
Vary: Accept-Encoding,User-Agent 
Content-Encoding: gzip 
Keep-Alive: timeout=1, max=100 
Connection: Keep-Alive 
Transfer-Encoding: chunked 
Content-Type: text/html; charset=iso-8859-1 

(域的Set-Cookie故意消音)

我已經檢查另一個網站也不具有內容長度集和出現加載沒有任何問題。

回答

0

我已經看到這個,當代理檢查請求,特別是如果通過HTTPS。