<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>阅微堂 &#187; 页面分析</title>
	<atom:link href="http://zhiqiang.org/blog/tag/%e9%a1%b5%e9%9d%a2%e5%88%86%e6%9e%90/feed" rel="self" type="application/rss+xml" />
	<link>http://zhiqiang.org/blog</link>
	<description>zhiqiang&#039;s personal blog</description>
	<lastBuildDate>Tue, 22 Jun 2010 13:08:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>加速blog：分析页面内容</title>
		<link>http://zhiqiang.org/blog/it/speedup-blog-analysis-page.html</link>
		<comments>http://zhiqiang.org/blog/it/speedup-blog-analysis-page.html#comments</comments>
		<pubDate>Mon, 03 Dec 2007 15:21:11 +0000</pubDate>
		<dc:creator>zhiqiang</dc:creator>
				<category><![CDATA[IT技术]]></category>
		<category><![CDATA[网站提速]]></category>
		<category><![CDATA[页面分析]]></category>

		<guid isPermaLink="false">http://zhiqiang.org/blog/?p=710</guid>
		<description><![CDATA[用FTP更新WordPress的可能有体会，如果是打包上传的话，速度很快，但如果解压后一个文件一个文件上传的话，可能就要好几分钟。
下载也是如此，不但页面的大小与速度相关，与整个页面上的文件数目也有密切的关系。这里文件包括页面上的javascript, css文件, 图片以及flash等。多文件会拖慢速度主要原因在于浏览器每次向服务器索要文件时，都有一个握手时间。
使用这个工具...]]></description>
			<content:encoded><![CDATA[<p>用FTP更新WordPress的可能有体会，如果是打包上传的话，速度很快，但如果解压后一个文件一个文件上传的话，可能就要好几分钟。</p>
<p>下载也是如此，不但页面的大小与速度相关，与整个页面上的文件数目也有密切的关系。这里文件包括页面上的javascript, css文件, 图片以及flash等。多文件会拖慢速度主要原因在于浏览器每次向服务器索要文件时，都有一个握手时间。</p>
<p>使用<a href="http://www.websiteoptimization.com/services/analyze/" target="_blank">这个工具</a>看看你的页面上的东西是不是太多了点？</p>
<p>是不是得到很多caution甚至warning？这些就是你的需要优化的内容。</p>
<p>注：这个工具并没有统计完全把你浏览网页所下载的内容，比如CSS的背景图片就被他完全忽略了。建议使用firefox的firebug来查看更详细的页面内容。</p>
<div><h2>相关文章</h2><ul><li><a href="http://zhiqiang.org/blog/it/speedup-blog-analysis-your-website.html">加速blog：速度检测</a> <small>本文隶属加速blog系列

既然我们要谈加速blog，第一重要的是给blog的速度一个量化的评价。

Firefox的fasterfox插件会在Firefox的右下角给出每个网页的载...</small></li><li><a href="http://zhiqiang.org/blog/it/speedup-blog-about-images.html">加速blog：处理页面图片</a> <small>作为文章的或者功能性的或者美学意义上的需求，现在blog越来越丰富多彩，图片也越来越多。  选择合适的图片尺寸  现在数码相机越来越好，动辄800...</small></li><li><a href="http://zhiqiang.org/blog/it/speedup-blog-cache-on-server.html">加速blog：服务器端的中转和缓存</a> <small>前面已经提到了浏览器端的缓存，通过适当的Header可以建议和命令浏览器缓存页面内容比如javascript, css, 图片等。这里的服务器端的缓存又是什么意思...</small></li><li><a href="http://zhiqiang.org/blog/it/speedup-blog-http-headers.html">加速blog：HTTP Header</a> <small>本文隶属加速blog系列  HTTP请求和相应Header  一个经典的HTTP连接是，读者通过浏览器（下称为浏览器端），向服务器（下称为服务器端）申请浏览某网页...</small></li><li><a href="http://zhiqiang.org/blog/it/speedup-blog-optimize-wordpress-database.html">加速blog：监测和优化WordPress数据库</a> <small>在WordPress生成页面时，最消耗时间的便是数据库查询了。
监测WordPress的数据库查询
WordPress内置了数据库缓存系统，安装插件WordPress Cache Inspect，它会...</small></li><li><a href="http://zhiqiang.org/blog/it/speedup-blog-optimize-wordpress.html">加速blog：优化WordPress程序效率</a> <small>这里本质上要谈的还是优化数据库的效率，不过是改写WordPress的代码使得降低数据库查询次数。
get_permalink函数
get_permalink函数非常好用，get_permalink($i...</small></li><li><a href="http://zhiqiang.org/blog/it/speedup-blog-choose-appropriate-server.html">加速blog：选择合适的服务器</a> <small>要想打造一个响应快速的blog，一个快速的服务器（虚拟主机空间）是必不可少的。其实这才是决定因素，因为这可能会导致速度在数量级上的差距（我...</small></li><li><a href="http://zhiqiang.org/blog/it/speedup-blog-cache-wordpress.html">加速blog：WordPress的缓存和静态化</a> <small>WordPress消耗时间最多的便是数据库的查询，所以缓存是一个比较好的解决方案。WordPress强大的'hook'机制，使得可以为之建立强大的缓存机制，从缓存数...</small></li><li><a href="http://zhiqiang.org/blog/it/speedup-blog-factors-of-slowness.html">加速blog：网站响应缓慢的因素</a> <small>本文隶属加速blog系列 

为什么有的网站即点即开，有些却慢得要死？影响网站速度的因素有但不限于下面这些：许多因素会影响到网页初次访问的响...</small></li><li><a href="http://zhiqiang.org/blog/it/speedup-blog-set-browser-cache.html">加速blog：设置浏览器缓存</a> <small>在用户浏览blog的不同页面时，很多内容是重复的，比如相同的javascript，css，背景图片等。如果我们能够建议甚至强制浏览器在本地缓存这些文件，将...</small></li></ul></div>    <p></p>
    <hr noshade style="margin:0;height:1px" />
    <p>&copy; zhiqiang for <a href="http://zhiqiang.org/blog">阅微堂</a>, 2007. | <a href="http://zhiqiang.org/blog/it/speedup-blog-analysis-page.html">&#38142;&#25509;</a> | <a href="http://zhiqiang.org/blog/it/speedup-blog-analysis-page.html#comments">0&#26465;&#35780;&#35770;</a></p>]]></content:encoded>
			<wfw:commentRss>http://zhiqiang.org/blog/it/speedup-blog-analysis-page.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>加速blog：速度检测</title>
		<link>http://zhiqiang.org/blog/it/speedup-blog-analysis-your-website.html</link>
		<comments>http://zhiqiang.org/blog/it/speedup-blog-analysis-your-website.html#comments</comments>
		<pubDate>Sun, 18 Nov 2007 14:50:08 +0000</pubDate>
		<dc:creator>zhiqiang</dc:creator>
				<category><![CDATA[IT技术]]></category>
		<category><![CDATA[网站提速]]></category>
		<category><![CDATA[页面分析]]></category>

		<guid isPermaLink="false">http://zhiqiang.org/blog/posts/speedup-blog-analysis-your-website.html</guid>
		<description><![CDATA[本文隶属加速blog系列
既然我们要谈加速blog，第一重要的是给blog的速度一个量化的评价。
Firefox的fasterfox插件会在Firefox的右下角给出每个网页的载入时间，你可以看一下大致有多快。firebug能给出页面各元素更详细的统计数据。注意，测试的时候用CTR+F5强制刷新，以免缓存数据影响测试结果。

webwait以很直观的方式，测试网页的平均载入时间，可以设置测试次数和测试时间间...]]></description>
			<content:encoded><![CDATA[<p><font color="#808080" size="2">本文隶属</font><a href="http://zhiqiang.org/blog/posts/speedup-your-blog.html"><font color="#808080" size="2">加速blog系列</font></a></p>
<p>既然我们要谈加速blog，第一重要的是给blog的速度一个量化的评价。</p>
<p>Firefox的<a href="https://addons.mozilla.org/en-US/firefox/addon/1269" target="_blank">fasterfox</a>插件会在Firefox的右下角给出每个网页的载入时间，你可以看一下大致有多快。<a href="https://addons.mozilla.org/en-US/firefox/addon/1843" target="_blank">firebug</a>能给出页面各元素更详细的统计数据。注意，测试的时候用CTR+F5强制刷新，以免缓存数据影响测试结果。</p>
<p style="text-align: center"><img src="http://lh5.google.com/mathzqy/RzlZeKQHJ9I/AAAAAAAABpc/9Dc4NsQOUEw/20071113155949765.jpg?imgmax=800" alt="Firebug效果图" /></p>
<p><a href="http://webwait.com/">webwait</a>以很直观的方式，测试网页的平均载入时间，可以设置测试次数和测试时间间隔。不过感觉这玩意儿不是太准确，由于不是强制刷新，受浏览器的cache的因素太大，比如<a href="http://zhiqiang.org/blog/">阅微堂首页</a>的测试结果是0.2秒，其实没有这么快。</p>
<p>上面的方法都是本地测试，<a href="http://www.octagate.com/service/SiteTimer/">这个网站</a>提供了它在它的服务器端的测试结果。</p>
<p>另一个方法就是直接询问blog的读者，例如<a href="http://zhiqiang.org/blog/posts/move-to-rent-server-cbn-speed-survey.html">开一个速度调查问卷</a>。这能得到全国(世界)各地全面的数据。</p>
<p>不过，由于各种扰动因素，任何时候任何地点得到的数据都只有参考意义。速度优化，就像搜索引擎优化一样，需要长时间的检测，随着页面内容的变动，服务器模块和后台插件的增减，都会对速度造成影响，这需要我们不断得做出调整。</p>
<div><h2>相关文章</h2><ul><li><a href="http://zhiqiang.org/blog/it/speedup-blog-analysis-page.html">加速blog：分析页面内容</a> <small>用FTP更新WordPress的可能有体会，如果是打包上传的话，速度很快，但如果解压后一个文件一个文件上传的话，可能就要好几分钟。  下载也是如此，不...</small></li><li><a href="http://zhiqiang.org/blog/it/speedup-blog-about-images.html">加速blog：处理页面图片</a> <small>作为文章的或者功能性的或者美学意义上的需求，现在blog越来越丰富多彩，图片也越来越多。  选择合适的图片尺寸  现在数码相机越来越好，动辄800...</small></li><li><a href="http://zhiqiang.org/blog/it/speedup-blog-cache-on-server.html">加速blog：服务器端的中转和缓存</a> <small>前面已经提到了浏览器端的缓存，通过适当的Header可以建议和命令浏览器缓存页面内容比如javascript, css, 图片等。这里的服务器端的缓存又是什么意思...</small></li><li><a href="http://zhiqiang.org/blog/it/speedup-blog-http-headers.html">加速blog：HTTP Header</a> <small>本文隶属加速blog系列  HTTP请求和相应Header  一个经典的HTTP连接是，读者通过浏览器（下称为浏览器端），向服务器（下称为服务器端）申请浏览某网页...</small></li><li><a href="http://zhiqiang.org/blog/it/speedup-blog-optimize-wordpress-database.html">加速blog：监测和优化WordPress数据库</a> <small>在WordPress生成页面时，最消耗时间的便是数据库查询了。
监测WordPress的数据库查询
WordPress内置了数据库缓存系统，安装插件WordPress Cache Inspect，它会...</small></li><li><a href="http://zhiqiang.org/blog/it/speedup-blog-choose-appropriate-server.html">加速blog：选择合适的服务器</a> <small>要想打造一个响应快速的blog，一个快速的服务器（虚拟主机空间）是必不可少的。其实这才是决定因素，因为这可能会导致速度在数量级上的差距（我...</small></li><li><a href="http://zhiqiang.org/blog/it/speedup-blog-optimize-wordpress.html">加速blog：优化WordPress程序效率</a> <small>这里本质上要谈的还是优化数据库的效率，不过是改写WordPress的代码使得降低数据库查询次数。
get_permalink函数
get_permalink函数非常好用，get_permalink($i...</small></li><li><a href="http://zhiqiang.org/blog/it/speedup-blog-factors-of-slowness.html">加速blog：网站响应缓慢的因素</a> <small>本文隶属加速blog系列 

为什么有的网站即点即开，有些却慢得要死？影响网站速度的因素有但不限于下面这些：许多因素会影响到网页初次访问的响...</small></li><li><a href="http://zhiqiang.org/blog/it/speedup-blog-cache-wordpress.html">加速blog：WordPress的缓存和静态化</a> <small>WordPress消耗时间最多的便是数据库的查询，所以缓存是一个比较好的解决方案。WordPress强大的'hook'机制，使得可以为之建立强大的缓存机制，从缓存数...</small></li><li><a href="http://zhiqiang.org/blog/it/speedup-blog-set-browser-cache.html">加速blog：设置浏览器缓存</a> <small>在用户浏览blog的不同页面时，很多内容是重复的，比如相同的javascript，css，背景图片等。如果我们能够建议甚至强制浏览器在本地缓存这些文件，将...</small></li></ul></div>    <p></p>
    <hr noshade style="margin:0;height:1px" />
    <p>&copy; zhiqiang for <a href="http://zhiqiang.org/blog">阅微堂</a>, 2007. | <a href="http://zhiqiang.org/blog/it/speedup-blog-analysis-your-website.html">&#38142;&#25509;</a> | <a href="http://zhiqiang.org/blog/it/speedup-blog-analysis-your-website.html#comments">0&#26465;&#35780;&#35770;</a></p>]]></content:encoded>
			<wfw:commentRss>http://zhiqiang.org/blog/it/speedup-blog-analysis-your-website.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
