我正在尝试修复我的网站,发现这个名为Firebug的好工具.我试图找出为什么我的网站加载速度很慢(基于wordpress的网站).我希望看看是否有人能给我一些提示.我在Net-> All下获得的结果是.
GET www.XXXXX.com http://www.XXXXX.com/ 302 Moved Temporarily ? 10.08s GET XXXXX.com http://XXXXX.com/ 200 OK XXXXX.com 9 KB 7.36s GET submenucontents.htm?1232464334833 http://XXXXX.com/wp-content/themes/bl_custom/submenucontents.htm?1232464334833 200 OK XXXXX.com 878 B 442ms 3 requests
我首先尝试使用www访问该站点(并将其重定向到没有www前缀的地址).
在GET XXXXX.com的响应标题下,我得到:
Response Headers Date Tue, 20 Jan 2009 15:12:03 GMT Server Apache Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre- check=0 Expires Thu, 19 Nov 1981 08:52:00 GMT Pragma no-cache X-Pingback http://XXXXX.com/xmlrpc.php Set-Cookie xLanguage_7b770aac8932bb67100357a3682248c9=en; expires=Sat, 02-Jan-2010 20:32:09 GMT; path=/ Keep-Alive timeout=15, max=100 Connection Keep-Alive Transfer-Encoding chunked Content-Type text/html; charset=UTF-8 Request Headers Host XXXXX.com User-Agent Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language en-us,en;q=0.5 Accept-Encoding gzip,deflate Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive 300 Connection keep-alive Cookie xLanguage_7b770aac8932bb67100357a3682248c9=en; PHPSESSID=c8fde81fo6f76uitqemqk7k5b3
如果有人可以提供帮助,我们将不胜感激!谢谢.
对于性能分析,我建议您使用YSlow,如果可以改进页面,YSlow将列出要执行的特定更改:
(来源:yimg.com)