Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(): Failed opening '/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php' for inclusion (include_path='.:/opt/cpanel/ea-php70/root/usr/share/pear') in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/feed-rss2.php on line 8
網頁速度 – unethost無限空間虛擬主機 技術分享部落格 https://blog.unethost.com unethost 專注於提供優質的虛擬主機服務及相關問題解答 Thu, 01 Oct 2015 04:16:29 +0000 zh-TW hourly 1 https://wordpress.org/?v=6.0.8 如何找出網站開啟速度慢的原因(或是網站疑似被駭) https://blog.unethost.com/how_to_find_slow_issue_to_web_by_firefox_developer_tools/ Thu, 01 Oct 2015 04:06:40 +0000 http://blog.unethost.com/?p=1684 閱讀全文 如何找出網站開啟速度慢的原因(或是網站疑似被駭)]]> developer_tools_wp

偶爾會有客戶反應,為什麼他們的網站速度不順呢?
當排除不是由server loading或是線路問題引起時,
可能要重新回頭觀察網站內容,包含程式碼或是圖片的讀取狀況。

下列是我們使用 firefox 的開發者工具,來查看並盡可能協助處理這樣的問題。

(直接使用 blog.unethost.com 當範例)

  1. 開啟 firefox 後,在開啟網站及開發者工具 (快捷鍵是: Ctrl + Shift +i ),
    並點擊”重新載入”。
    firefox_01
  2. 接著等待數據跑完後,可以先觀察一下,讀取的資料是不是都從自己的網站中出現的。
    如果發現異常的情況,也可能可以發現網站被植入特殊碼,而導致變慢的。
    firefox_002

  3. 因為我們網站上,有安裝facebook的粉絲團api,所以可能會導致整體的開啟速度變慢。
    firefox_003

  4. 但是如果仔細觀察facebook插件,其實這個並不會引起閱讀不順,因為主要網站內容(包含從資料庫讀出資料),都於2秒內就開啟完成。
    firefox_004

    所以使用這類工具,不是單純只看最後跑完的數據,還需要多多掌握及
    注意在網站讀取及執行中的狀況,才能找出真正的問題。
    如果看一個站不見得能體會,大家也可以多找幾個網站研究試試。

(本篇教學由unethost.com客服人員-Michael完成)

我們提供虛擬主機試用,七天滿意保證,
功能完整使用不受限制,歡迎點我申請。

]]>