WordPress网站痛苦缓慢 [英] Wordpress site painfully slow
问题描述
那里有哪些工具可以用来确定为什么网站要花这么长时间来加载页面?
What tools are there out there for determining why a site takes so long to load pages?
我使用的主题很简单,可以根据自己的需要进行更改,这是一个全新的网站,只有两个测试帖子,并且加载需要一段时间.
I'm using a very simple theme that I changed to fit my needs, it's a brand new site with only two test posts and it takes a while to load.
我将YSlow用于Firebug,它使网站获得了A级(90),因此并没有真正的帮助.还有什么可以帮助我弄清楚发生了什么事的事情吗?
I used YSlow for Firebug and it gives the site a Grade A (90) so that doesn't really help. Is there anything else out there that might help me figure out what's going on?
推荐答案
尝试使用xdebug之类的分析器,如何进行设置:
try using a profiler like xdebug, how to setup:
http://codex.wordpress.org/Testing_WordPress_Performance#Configuring_Xdebug_for_Profiling
根据您的网站,该页面要花费很长时间才能生成并执行相当数量的查询:
according to your site, the page is taking a long time to generate and doing a fairly large # of queries:
<!-- 28 queries. 2.728 seconds. -->
<!-- Dynamic page generated in 1.553 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-01-12 16:23:03 -->
所以..最近是否添加了一个插件,该插件可能正在执行许多数据库调用?
so.. was there a plugin that was recently added that may be doing a lot of db calls?
超级缓存将大有帮助,如果页面被缓存,请求将不需要运行所有这些查询...
supercache will help a lot, requests won't need to run all those queries if the page is cached...
这篇关于WordPress网站痛苦缓慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!