<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Pingdom 剖析你的網頁載入是慢在哪裡</title>
	<atom:link href="http://sanwangx.info/archives/2007_06/21_313/feed/" rel="self" type="application/rss+xml" />
	<link>http://sanwangx.info/archives/2007_06/21_313/</link>
	<description>It's my LIFE!</description>
	<pubDate>Sat, 10 Jan 2009 01:53:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: San Wang</title>
		<link>http://sanwangx.info/archives/2007_06/21_313/comment-page-1/#comment-110847</link>
		<dc:creator>San Wang</dc:creator>
		<pubDate>Sun, 07 Oct 2007 16:49:52 +0000</pubDate>
		<guid isPermaLink="false">http://sanwangx.brain-c.com/archives/2007_06/21_313/#comment-110847</guid>
		<description>To Kai-shao：
你設的數目還真是大得驚人，不過說真的，Pingdom 可以迅速偵測出網頁載入是慢在哪裡，超方便的！</description>
		<content:encoded><![CDATA[<p>To Kai-shao：<br />
你設的數目還真是大得驚人，不過說真的，Pingdom 可以迅速偵測出網頁載入是慢在哪裡，超方便的！</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kai-shao</title>
		<link>http://sanwangx.info/archives/2007_06/21_313/comment-page-1/#comment-110549</link>
		<dc:creator>Kai-shao</dc:creator>
		<pubDate>Wed, 03 Oct 2007 19:48:02 +0000</pubDate>
		<guid isPermaLink="false">http://sanwangx.brain-c.com/archives/2007_06/21_313/#comment-110549</guid>
		<description>我的Blog通常要14-18秒才開得出來，用這工具去測，終於發現問題出在哪裡。

以前以為是Java Script在拖延（我Blog裡有Google Analytics, 部落格觀察、ClustrMaps，MyBlogLog最近來客等多組Java Script在跑），都不敢再亂加新的東西，後來才發現這都是零點幾秒就可以解決掉的。

把幾個可疑的東西排除後，終於發現我Blog很慢的原因了。

原來，我會去偷改 wordpress/wp-includes/widgets.php 裡面，最新留言數、最新文章數兩個參數的極大值。我Blog有210篇文章，我一直把最新文章數設到250，嘿，Blog側邊欄就會列出很壯觀（其實是自慰罷了）的文章列表。

原來就是這個，把展開頁面的時間拖長了！看來他每次要展開頁面，都會去PHP+MySQL資料庫，把所有文章的標題全部抓出來，這個動作最花時間了。

把250調回30，我的頁面就可以在6-8秒內開出來了。

又，提供一個心得：WordPress的RSS文章數，也不能設太大。我以前很貪心，我文章數210，就給他亂設1000，這導致某些RSS服務（部份，不是全部，像FeedBurner遇上你RSS太大的就拒絕存取了，但也有些是硬可以吃下很大的RSS的）。

因為RSS檔案長度太大，使得RSS讀取超過主機設定的反應時間，就當做讀取失敗了。原來很多Web-based RSS Reader，RSS文章數也只有15-30左右而已。RSS文章數設太大的結果，會導致RSS讀取失敗。</description>
		<content:encoded><![CDATA[<p>我的Blog通常要14-18秒才開得出來，用這工具去測，終於發現問題出在哪裡。</p>
<p>以前以為是Java Script在拖延（我Blog裡有Google Analytics, 部落格觀察、ClustrMaps，MyBlogLog最近來客等多組Java Script在跑），都不敢再亂加新的東西，後來才發現這都是零點幾秒就可以解決掉的。</p>
<p>把幾個可疑的東西排除後，終於發現我Blog很慢的原因了。</p>
<p>原來，我會去偷改 wordpress/wp-includes/widgets.php 裡面，最新留言數、最新文章數兩個參數的極大值。我Blog有210篇文章，我一直把最新文章數設到250，嘿，Blog側邊欄就會列出很壯觀（其實是自慰罷了）的文章列表。</p>
<p>原來就是這個，把展開頁面的時間拖長了！看來他每次要展開頁面，都會去PHP+MySQL資料庫，把所有文章的標題全部抓出來，這個動作最花時間了。</p>
<p>把250調回30，我的頁面就可以在6-8秒內開出來了。</p>
<p>又，提供一個心得：WordPress的RSS文章數，也不能設太大。我以前很貪心，我文章數210，就給他亂設1000，這導致某些RSS服務（部份，不是全部，像FeedBurner遇上你RSS太大的就拒絕存取了，但也有些是硬可以吃下很大的RSS的）。</p>
<p>因為RSS檔案長度太大，使得RSS讀取超過主機設定的反應時間，就當做讀取失敗了。原來很多Web-based RSS Reader，RSS文章數也只有15-30左右而已。RSS文章數設太大的結果，會導致RSS讀取失敗。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: San Wang</title>
		<link>http://sanwangx.info/archives/2007_06/21_313/comment-page-1/#comment-100306</link>
		<dc:creator>San Wang</dc:creator>
		<pubDate>Mon, 25 Jun 2007 17:10:36 +0000</pubDate>
		<guid isPermaLink="false">http://sanwangx.brain-c.com/archives/2007_06/21_313/#comment-100306</guid>
		<description>To 迷彩奇異果：
讚吼，慢用慢用。 :D</description>
		<content:encoded><![CDATA[<p>To 迷彩奇異果：<br />
讚吼，慢用慢用。 <img src='http://sanwangx.info/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 迷彩奇異果</title>
		<link>http://sanwangx.info/archives/2007_06/21_313/comment-page-1/#comment-100282</link>
		<dc:creator>迷彩奇異果</dc:creator>
		<pubDate>Mon, 25 Jun 2007 12:57:50 +0000</pubDate>
		<guid isPermaLink="false">http://sanwangx.brain-c.com/archives/2007_06/21_313/#comment-100282</guid>
		<description>:grin: 這個東西好用…讚</description>
		<content:encoded><![CDATA[<p> <img src='http://sanwangx.info/wp-includes/images/smilies/icon_biggrin.gif' alt=':grin:' class='wp-smiley' /> 這個東西好用…讚</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: San Wang</title>
		<link>http://sanwangx.info/archives/2007_06/21_313/comment-page-1/#comment-100159</link>
		<dc:creator>San Wang</dc:creator>
		<pubDate>Sun, 24 Jun 2007 17:25:10 +0000</pubDate>
		<guid isPermaLink="false">http://sanwangx.brain-c.com/archives/2007_06/21_313/#comment-100159</guid>
		<description>To dora2002：
看起來載入速度是還好 (至少不會比載入我 blog 圖片來得慢吧？)，不過很久以前就想把它拿掉了，所以... :mrgreen:

To kovis：
簡單易用或要合自己需求，任君選擇。 XD</description>
		<content:encoded><![CDATA[<p>To dora2002：<br />
看起來載入速度是還好 (至少不會比載入我 blog 圖片來得慢吧？)，不過很久以前就想把它拿掉了，所以&#8230; <img src='http://sanwangx.info/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p>
<p>To kovis：<br />
簡單易用或要合自己需求，任君選擇。 XD</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kovis</title>
		<link>http://sanwangx.info/archives/2007_06/21_313/comment-page-1/#comment-100134</link>
		<dc:creator>kovis</dc:creator>
		<pubDate>Sun, 24 Jun 2007 13:33:09 +0000</pubDate>
		<guid isPermaLink="false">http://sanwangx.brain-c.com/archives/2007_06/21_313/#comment-100134</guid>
		<description>我一般是靠firebug來做這個工作:p</description>
		<content:encoded><![CDATA[<p>我一般是靠firebug來做這個工作:p</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dora2002</title>
		<link>http://sanwangx.info/archives/2007_06/21_313/comment-page-1/#comment-100079</link>
		<dc:creator>dora2002</dc:creator>
		<pubDate>Sun, 24 Jun 2007 04:36:08 +0000</pubDate>
		<guid isPermaLink="false">http://sanwangx.brain-c.com/archives/2007_06/21_313/#comment-100079</guid>
		<description>這個拿掉吧 XD
http://static.twitter.com/flash/twitter_timeline_badge.swf</description>
		<content:encoded><![CDATA[<p>這個拿掉吧 XD<br />
<a href="http://static.twitter.com/flash/twitter_timeline_badge.swf" rel="nofollow">http://static.twitter.com/flash/twitter_timeline_badge.swf</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: San Wang</title>
		<link>http://sanwangx.info/archives/2007_06/21_313/comment-page-1/#comment-100004</link>
		<dc:creator>San Wang</dc:creator>
		<pubDate>Sat, 23 Jun 2007 16:28:52 +0000</pubDate>
		<guid isPermaLink="false">http://sanwangx.brain-c.com/archives/2007_06/21_313/#comment-100004</guid>
		<description>To dora2002：
唔...廣告載入不會花太久時間啦... XD</description>
		<content:encoded><![CDATA[<p>To dora2002：<br />
唔&#8230;廣告載入不會花太久時間啦&#8230; XD</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dora2002</title>
		<link>http://sanwangx.info/archives/2007_06/21_313/comment-page-1/#comment-99976</link>
		<dc:creator>dora2002</dc:creator>
		<pubDate>Sat, 23 Jun 2007 11:15:57 +0000</pubDate>
		<guid isPermaLink="false">http://sanwangx.brain-c.com/archives/2007_06/21_313/#comment-99976</guid>
		<description>廣告是不能拿掉的東西 (沒$會活不下去)  :arrow:</description>
		<content:encoded><![CDATA[<p>廣告是不能拿掉的東西 (沒$會活不下去)  <img src='http://sanwangx.info/wp-includes/images/smilies/icon_arrow.gif' alt=':arrow:' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: San Wang</title>
		<link>http://sanwangx.info/archives/2007_06/21_313/comment-page-1/#comment-99730</link>
		<dc:creator>San Wang</dc:creator>
		<pubDate>Fri, 22 Jun 2007 08:19:34 +0000</pubDate>
		<guid isPermaLink="false">http://sanwangx.brain-c.com/archives/2007_06/21_313/#comment-99730</guid>
		<description>To Thomas.wu：
我也只是轉貼者，大家一起分享好東西吧。 :)</description>
		<content:encoded><![CDATA[<p>To Thomas.wu：<br />
我也只是轉貼者，大家一起分享好東西吧。 <img src='http://sanwangx.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
