Back in December I blogged about “早在12月我的博客上讲述“ How Fast is your Wordpress Blog”如何快速,是您的WordPress博客“ Since then I have done a lot more research into this subject and I have come up with a few more ways to Speed up Wordpress and make it从那时起,我做这个题目更大量的研究,我便与一些更多的途径来加快Wordpress和弥补它 Digg Digg Proof in the event of an extremely popular post.证明在发生事件后非常受欢迎。
The following tips to speed up Wordpress are certainly not for the faint of heart, and I suggest you only attempt these with a good disaster recovery plan in place.下面的提示,以加快WordPress的肯定不是勇敢者的游戏,我建议你只尝试了良好的灾难恢复计划中就这些。
</Disclaimer> “/声明”
One of the first and most successful techniques is to optimize your database.第一个和最成功的方法是优化您的数据库。
Working daily on very large Oracle Databases I certainly know the importance of a well tuned database.每天工作非常大的Oracle数据库,我当然知道有一个发达的调整数据库的重要性。 Since pages are served dynamically, every page load in Wordpress results in a Mysql Query, and as stated in my first post on由于网页是动态显示,在每一个WordPress的MySQL查询结果页面加载,正如我在第一篇文章的说明 speeding up Wordpress加快WordPress的 the WP-Cache plugin helps to reduce these queries but it's also important to make sure you have the Query Cache optimized for maximum performance.在WP - Cache插件有助于减少这些疑问,但它也必须确保你有查询缓存最高性能优化。
To activate the Mysql Query Cache:要激活MySQL查询高速:
1. 1。 Find your mysql configuration file my.cnf寻找你的MySQL配置文件my.cnf
2. 2。 Find the setting query-cache-type & change the value to 1找到设置查询缓存类型和更改为1值
3. 3。 Find the query-cache-size & change the value to 20M找到查询缓存的大小及变化值为20M
4. 4。 Find the query-cache-limit & change the value to 2M找到查询缓存的限制和更改为200万的价值
You will need to make sure your host allows root access to the server in order to do this tweak.您需要确保您的主机允许根访问服务器为了做到这一点调整。
The next tip to try is using PHP Compiler Cache下一个提示,以尝试的使用PHP编译器缓存
The PHP Compiler cache saves scripts in their compiled format on the server so that they're not getting recompiled every time you call them from Wordpress.在PHP编译器缓存中保存的格式编制的脚本在服务器上,这样他们在没有得到重新编译每次您从WordPress的他们。 It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated.它增加了缓存的编译状态他们的PHP脚本的性能,使编制的开销几乎完全消除。 It also optimizes scripts to speed up their execution.它还优化脚本来加速执行。 It typically reduces server load and increases the speed of your PHP code by 1-10 times.它通常降低了服务器负载,并增加了你的PHP代码的速度1-10倍。
Here are links to a couple of PHP Compiler Caches以下是编译器的PHP缓存的情侣链接 APC apc的 & & eAccelerator eAccelerator的
The final tip I have for today is to make sure you select the correct hosting company.最后的提示我为今天的是要确保选择了正确的托管公司。
Unfortunately I initially selected one of the most incompetent hosting companies in the known universe for my personal blog, and I have had nothing but grief, angst, argument and downtime since joining….. 不幸的是我最初选择了我的个人博客中最不称职的主办已知的宇宙公司之一,我有什么 , 但自从加入悲伤,焦虑,争论和停机... .. The name of the worst hosting company in the world is 'smartyhost dot com dot au', I won't even link to them thanks how much they suck. In spite of their total incompetence and lack of support and b-grade service I have still managed a reasonably fast Wordpress blog. 最严重的托管公司在世界上的名称是'smartyhost点通信点金',我不会链接到他们甚至感谢他们吸多少。在其总的无能和支持 , 尽管缺乏B级服务 , 我但仍然相当快的WordPress博客。 I am saving all the problems with the worst hosting company in the world, for another blog post, and I will make sure I get the keyword SEO just right to ensure it gets 1st position on Google….. 我保存最严重的托管公司在世界上所有的问题,另一个博客中,我将确保我得到的关键字搜索引擎优化恰到好处 , 以确保它获得第一的位置上谷歌... .. rant over…. 咆哮了...。
The two hosting companies I looked at and reviewed are这两个托管公司我看着和审查的 bluehost.com bluehost.com and和 micfo.com micfo.com , but keep in mind micfo.com doesn't accept credit card payments so you have to use paypal or wire transfer…. ,但请记住micfo.com不接受信用卡付款,您必须使用贝宝或电汇...。 I elected to use bluehost.com.本人选择使用bluehost.com。 After this weekends这个周末后 Photo Hunt照片亨特 competition I will redirect my DNS to my new host with migrated blog and hopefully everyone will see another speed boost….竞争,我将我的DNS重定向到我新的主机与迁移的博客,希望大家会看到另一速度的提高...。
がんばてます がんばてます
To get new stuff automatically subscribe to my要获得新的东西,我会自动订阅 RSS feed RSS提要 . 。 For a more personal insight Follow me on对于更多的个人见解跟我上 Twitter叽叽喳喳 . 。
This post is tagged这个职位是标签 Make Wordpress Run Even Faster请WordPress的运行速度更快 , , optimize wordpress WordPress的优化 , , speed up wordpress加快WordPress的














9 Comments 9评论
I found your site on technorati and read a few of your other posts.我发现您的Technorati的网站和阅读您的其他职位数。 Keep up the good work.保持良好的工作。 I just added your RSS feed to my Google News Reader.我只是将你的RSS提要,以我的谷歌新闻阅读器。 Looking forward to reading more from you.期待你读更多。
Aaron Wakling阿伦Wakling
Reply To This Comment回复此评论
I've had to cut smartyhost loose too Paul, too much down time, no after hours support, all round poor service.我不得不削减smartyhost保罗太松散,太多的停机时间,没有下班后的支持,全面服务差。
Reply To This Comment回复此评论
Ahhhh, before I make any changes on my blog, I have to get this issue of corrupt backup files fixed. Ahhhh,在我做我的博客上任何改变,我得到这样的腐败问题的文件备份修复。 The host is working on it, but I'm kinda worried…主机是工作,但我有点儿担心...
Reply To This Comment回复此评论
wow Mariam, that is really scary… maybe its something messed up with wordpress, did you try to re-copy wordpress over itself?哇马里安,这实在是可怕的...也许事情搞砸了与WordPress的,你尝试重新复制自己的WordPress多?
Reply To This Comment回复此评论
Most likely as the file size ballooned twice the amount and I just checked all my backups and it seems it had happened over the summer.大多数的文件大小可能激增两倍的金额,我只是检查所有的备份和它似乎在夏天发生。 Bummer.无赖。 Luckily, I do keep a text copy of all my posts so if anything happens, I can recover… not the comments though unless I want to take a look at the db and query it to extract all the comments.幸运的是,我保留我的所有职位,如果有什么事情发生的文本,我可以恢复...不评论,但除非我想看一看分贝的外观和查询到提取所有的意见。
Reply To This Comment回复此评论
So that's why your site's down sometimes when i come visit.所以,这就是为什么你的网站的下降有时候,我来访问。 Downtimes make me cranky too.停机时间让我胡思乱想了。 My host promises 99.5% uptime so when it bogs down I write really long emails to them.我的主人承诺99.5%的正常运行,使沼泽地时,我写了很长的电子邮件给他们。
Reply To This Comment回复此评论
mariam, you can export all posts and comments from std wordpress functionality.马里安,您可以导出所有员额和性病WordPress的功能的意见。 go to php admin and do a DB repair, you should be good to go.到PHP的管理,做好数据库修复,你应该去好。 sing out if you need a hand唱出如果你需要一个手
Reply To This Comment回复此评论
Here is a tip for you, remove that image next to the adsense code.下面是为您提示,删除该图片旁边的AdSense代码。
Be careful not to get banned, cheers !请注意,不要让被禁止,欢呼声!
Reply To This Comment回复此评论
Thanks Music lover, I did check the T&C's and the image has to be related to the ads to be against the rules.由于音乐爱好者,我也检查了T&C的和形象可能与该广告是违反规则。 The image is a picture of my name in Japanese, not related to anything i have seen advertised in the code block.该图像是我的名字在日本,不涉及任何我看到在代码块广告图片。
Reply To This Comment回复此评论
Incoming Links接踵而来的链接
Leave a Reply留下回复