Mar 23 2009

13 Great WordPress Speed Tips & Tricks for MAX Performance

Advertisement

Performance is a key factor for any successful website. And since WordPress is becoming more popular than ever, it will only be at its best when raised in the proper conditions. Here are a few things to try if you find that your WordPress site is not performing as well as it could be due to high traffic or hidden issues you don’t know about.

Some Basic & Simple Steps

1. Upgrade to latest WordPress release

WordPress 2.7 have manny performance improvements over previous versions. So you better upgrade to latest release to make use of this.

2. Remove unnecessary Plugins & upgrade current ones

Remove any plugins that you aren’t using. Deactivate them and physically delete them from your web server. Deactivated plugins will affect the speed of a site because the WordPress checks to see if they are activated or not. Also you must stay up to date with the latest versions of the plugins you are currently using. Developers release new versions because they’ve modified the code in some way to make the plugin work better.

3. Minimize PHP and database queries

I read about this great tip on Wpcandy’s simple ways to speed up WordPress post. It makes a lot of sense, cutting down on PHP and database queries. Each time a page on your site loads, if your browser has to execute any PHP queries, it adds to the load time. If you replace the PHP queries with static HTML, every time a page loads, your browser just reads the HTML.

4. Optimize and Repair your Database from myPhpAdmin

Every week or so you should login to your myPhpAdmin and optimize your db. Locate your WordPress DatabaseTables, check all the tables in the Check Boxes, select the Optimise Tables Option and repair. You would be surprised how well this trick might work, it saved more than 10% of my current database size.

Take a good care of your Images

5. Use Reliable image hosting service

Try moving the common web images, CSS, JavaScript and other static files to Amazon S3 Storage service and you will notice the average CPU load / memory requirement of the web server will be reduced a lot. Read this step by step guide.

You can also try this WordPress plugin, WP-Offload will boost the performance of your blog by seamlessly offloading static content like images, documents and movies. This will greatly reduce bandwidth consumption and the number of HTTP requests issued to your web server. Additional features such as remote image manipulation and thumbnail generation are provided.

6. Optimize your images with this great tool

Shrink O’Matic is an AIR application to easily (batch) resize (shrink) images. It handles JPGs, GIFs and PNGs. Simply drag and drop images and they’ll be resized as you wish! Options allow you to choose the output sizes, names and formats.

Great Advices for better performance

7.Install WP Super Cache Plugin

I guess many of you know why we always insist on using this plugin. This plugin generates static html files from your dynamic WordPress blog. After an html file is generated your webserver will serve that file instead of processing the comparatively heavier and more expensive WordPress PHP scripts and will not actually load any content from the database at all therefore the post will load faster with less stress on your server.

8.PHP Speedy WP

PHP Speedy WP can quickly and easily speed up your WordPress site and improve your blog’s response time without too much effort on your side by allowing us to automatically combine all JS and CSS files into only two files – which in turn helps greatly with page loading times. CSS Background Images are automatically converted to data URIs. This is useful in reducing the amount of HTTP requests even further. And, importantly, it’s compatible with Internet Explorer, even though it doesn’t support data URIs. Unfortunately, PHP speedy comes with few flaws out of box that need fixing: Combined JavaScript is placed at the top of the page instead at the bottom, it does not work with WP Super Cache. In order to get this two working like we want them, you have to check this great article by Prelovac to make few adjustments to both plugins.

9.WP CSS

This plugin GZIP and strip whitespace from your CSS files. It allows you to confidently use @import inside a CSS file and not worry about what happens on the user’s end. It will look through your style.css file and put any @import files into it. A cache expiry time can also be set. You can also add CSS files to a specific page or post and putting all of them into one file.

10.DB Cache

This plugin caches every database query with given lifetime. It is very fast and uses small disk space for caching.

I didn’t try this plugin yet but I’ve read many reviews recommending it. Let me know what do you guys think about it so we can update this post with correct information about its performance.

11.Speed up access to your favorite frameworks via the AJAX Libraries API

The AJAX Libraries API is an attempt to make Web applications faster for developers in simple ways by becoming a content distribution network and loading architecture for popular javascript libraries including:

You can either link to the source code directly:

<script type="text/javascript" 
    src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.2/prototype.js"></script>

Or you can use Google’s API:

<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("prototype", "1.6.0.2");</script>

By using the google.load() method, your application has high speed, globally available access to a growing list of the most popular, open source and up to date JavaScript libraries.

12.Display page loading time + number of queries

Here is a simple code to insert on your template to know how long it took for your page to load, or how many sql queries were executed. This tip is very good for knowing how well is your WordPress blog is optimized.

<?php echo get_num_queries(); ?> queries in <?php timer_stop(1); ?>  seconds.

13.Optimize DB

MySQL is a great database, but it doesn’t clean itself up the way it should sometimes. This plugin runs an optimize table command on your WordPress tables, effectively defragmenting it. This is very useful for tables that are frequently updated. The interface is very simple at the moment: just one button: Optimize Now, and some info on how much space will be saved. It looks like this:

Must Read Resources & References

That should do it for now. Hopefully, a few of these will help to make your WordPress perform in a much faster way. What are some of your favorite tips? Leave a comment below and let us know!

About the Author

The jungle is alive: Be it a collaboration between two or more authors or an article by an author not contributing regularly. In these cases you find the Noupe Editorial Team as the ones who made it. Guest authors get their own little bio boxes below the article, so watch out for these.

Homepage

Comments and Discussions
  • nice helpful wp tips and tricks, thanks a lot..

  • Cristhian Bedon, 23 March 2009

    Great tips & recommendations, been thinking about going to Amazon so they can load my pics recently also.

  • eddie, 23 March 2009

    nice post! I would try some of them

  • Matías, 23 March 2009

    Great Tips!
    Let’s try…

  • Danh ba web 2.0, 23 March 2009

    Thanks for great tip. Good luck !

  • Jorge Linares, 23 March 2009

    Thanks for the tips and resources, will definitely have to try all of it and see which ones work and which one do not.

  • Farid Hadi, 23 March 2009

    Thanks for a nice article. I had no clue about #4. I’ll definitely give it a try. I’ve been looking into #7 lately but I’ve read about a few issues with it so I’ve kind off kept it on the shelve at the moment. Will be playing around with it locally before implementing it on my live blog. #10 seems interesting too.

    Thanks!

  • sky, 23 March 2009

    wow..it’s so great..i can optimize my website now..

    Thank u.

  • saurabh shah, 23 March 2009

    nice tips … going to use it or my upcoming blog… thnx for sharing …

  • kopfbunt, 24 March 2009

    These is good content! Thx for the tipps. I had problems with the performance of my site – now it is much better!

  • Alexey, 24 March 2009

    Found you on digg. Great article. Thanks a lot.

  • Yannick, 24 March 2009

    Wow! Nice, realy nice.

  • Izzatz, 24 March 2009

    Messing up with database is quite cumbersome. But its worth it!

  • strony internetowe, 24 March 2009

    very useful!

  • Ionut Staicu, 24 March 2009

    Very nice tips. BUT… About library includes: wordpress have his own way to include external libraries (enqueue_script() or smth like that) so you have to change stuff in wordpress files (not only themes).
    And unless you know how to do this, this step is kinda… useless :)

  • Rob Sayre, 24 March 2009

    Great advice, thanks.

  • Johnny Five, 24 March 2009

    Wow, that is some good stuff dude, well done!

  • davro, 24 March 2009

    Nice article, very informative thanks for sharing and keep up the good work!

  • ste, 24 March 2009

    You can also use a php opcacher such as xcache to cache compiled php scripts which will dramatically decrease the load time of any php app

  • WEDOMARKUP Team, 24 March 2009

    Nice article, this can really help. Thank you very very much.

  • Nelson Tan, 24 March 2009

    I don’t even know those database optimization tricks. Thanks a lot!

  • Dan Reich, 24 March 2009

    Really good stuff.

  • matboo, 24 March 2009

    compress css

  • thesparetimetyper, 24 March 2009

    great tips, tonight i’m gonna try some of them on my website….

  • Conrad Theart, 24 March 2009

    Wow! Great post. I don’t need to use all of them yet at my blog isn’t that big, but I’ve noticed a huge change after deleting my inactive plug-ins!

    Thank you!

  • ilyas TEKER, 24 March 2009

    Great post. I am using many solution for speed but i will try these solutions. Thanks : )

  • Stuart Conover, 24 March 2009

    I would actually argue #1. I know a LOT of people, myself included on a couple of my blogs, that have suffered from large amounts of slowdown when upgrading to 2.7.

    If you search Google for “wordpress 2.7 slow” you’ll actually see a lot of people are having that as an issue. It’s not an issue for everyone, however the latest is not always the greatest.

    • Noupe, 24 March 2009

      I have heard a lot about the slowness issue but really this wasn’t the case with many of all the users. Upgrading to the latest release is a must, WordPress developers always work on enhancing many issues related to performance with every release.
      You might need to troubleshoot your theme or something and find out what is making it slow with the new version.

      • Stuart Conover, 24 March 2009

        Cleared plugins and themes on one of my installs that went slow and still had the issue. Kind of hoping the next update will end up fixing it but only time will tell!

      • Noupe, 25 March 2009

        I used to have devsnippets on dreamhost and was acting very slow when i updated it to 2.7 but once i moved to media temple the site was pretty fast. I am not sure if its a hosting issue or a configuration the host is doing that affects the performance. You might need to digg into this as well.

    • Linky, 28 October 2009

      Very useful info. I don’t what to do to speed up my blog before. When I upgraded to WP8 it became slower, made me want to downgrade and back to WP7. But now I realize there are some other things influencing.

  • Sarah, 24 March 2009

    Awesome

  • Ramoonus, 24 March 2009

    Along with point 9 (WP CSS) goes WP JSS from the same maker
    and there are many more plugins available for speeding up the loadingtime by using stuff like sprites etc.

    By using twice the same optimalisation (as mentioned in the text) the site even slows down!

  • Ananth, 24 March 2009

    Wow, this is so cool. Especially for a noob in wordpress like me. Thank you so much for this article.

  • Stijn Vogels, 24 March 2009

    Personally, I’m also a fan of the ‘CleanOptions’ plugin. It finds orphaned options and allows for their removal from the noupe_options table. If you’ve been using WordPress for a few years and try a new plugin or theme every now and then, it helps you clean up those old settings.

    • Noupe, 24 March 2009

      I have tried ‘CleanOptions’ plugin before and it worked great. Removing unwanted records from the noupe_options fields will certainly be good. Thanks for the tip.

  • aravind, 24 March 2009

    Great great article.. I was looking for something like this..
    thanks.. :)

  • jimmy b, 24 March 2009

    Great info. Regarding item 12 and displaying the page load time — i inserted the code in a page and the result was “queries in seconds.” without any stats. I do not know php and do not want to take the time to learn it right now just for this, so i was wondering if someone could enlighten me as to what to do to get the stats….does this simply mean that there was no sql? i thought it said that i should get both sql queries AND load time…. thanx for any help

    • Noupe, 25 March 2009

      If you contact the author of this snippets he will sure be glad to help.

  • Claudia, 25 March 2009

    Great tips, except I’m not sure if I have enough savy to implement them.

  • Webdepeloper, 25 March 2009

    Another great article & useful tips you share here as usual. Thanks for the wrap up!

  • jack, 25 March 2009

    thanks, didn’t know about some of the plugins!

  • Ranga, 25 March 2009

    Really cool tips :-)

    thx.

  • Jordan, 25 March 2009

    I came here with the intention to read this article.. But after waiting 3 minutes for the page to load I decided against it.

    • Noupe, 25 March 2009

      You just came here while i was making some changes to the theme folder. Sorry you experienced this delay.

  • gadget, 25 March 2009

    Absolutely brilliant. Whilst I know the need to do these things, my knowledge has perhaps limited my ability. This post has encouraged me to try the things I need to do. Thank you.

  • Tariq, 25 March 2009

    Great tips. Thank you for the article.
    The Shrink O’matic seem to be a Windows only. Can someone recommend something similar for Mac?

  • Jeff, 26 March 2009

    Umm: “if your browser has to execute any PHP queries”…

    Browsers don’t execute PHP queries. This article tells you some of the basics, but honestly there is more more that can be done. Explore opcode caching and MySQL caching to really speed up WP..

  • Rishi, 26 March 2009

    I just wish there was a plugin to simplify using Google App Engine as a CDN rather than having to upload files using their Python utility everytime. Great list of tips!

  • Design freak, 28 March 2009

    wow… very nice article

  • Teddy Cheezy, 28 March 2009

    thats what i needed !!!!

    im about to launch my new Bloggong website !!
    and this is the post i’ve been lookin’ for !!!

    thx Noura !!

    good luck

  • Sklep Zoologiczny, 29 March 2009

    Extremely useful post. I know some of the “tweaks” but most are new to me.

  • Katie Dubois, 30 March 2009

    Hey, thanks for the share…good stuff here to know about and implement!

  • George Serradinho, 31 March 2009

    Thanks for the tips, this will surely come in hand.

    I have been displaying my database queries and time on my blog for sometime now. I always want to know what the details are to ensure that my site loads as fast as possible.

  • Viper007Bond, 01 April 2009

    #2 is partially wrong. Deactivated plugins don’t slow down your website at all. WordPress doesn’t even know about them unless you visit your plugins management page.

    Check out wp-settings.php for the proof (around line #500). It grabs the list of activated plugins, checks to see if each activated plugin exists and is valid and if so, it then includes it. It doesn’t do the reverse as you suggested (grabbing all plugins and then seeing if each is activated or not).

    Deactivating plugins you don’t use though is of course valid, although the performance impact will vary greatly depending on the plugin (for most, it’ll be negligible).

    • Mark Jaquith, 13 May 2011

      I have an install with every WordPress plugin installed. Nearly 15,000 plugins. The only page that is slow is the plugins page. Everything else is completely unaffected.

  • Husien Adel, 02 April 2009

    great Tutorial ..thanks a lot :)

  • Azad, 02 April 2009

    Brilliant article. Helped my cut my page load time. Cheers.

  • Val, 02 April 2009

    Thanks so much for this excellent article. I have already implemented some of these tips after reading this post and it certainly has seemed to help speed things up. I really appreciate your posting this information!

  • Fred McCoy, 03 April 2009

    Thanks for the great tips and resources. You can never actually have enough things to speed up your personal work through wordpress. My partner won’t stop with the Shrink O’matic with her photography images.

  • Christian Land, 09 April 2009

    Awesome article. Btw. I created a german translation of this article (and changed/added some things) which can be found on my Blog ;-)

  • azees, 13 April 2009

    wow nice article about wordpress

  • mayclomyloamp, 16 April 2009

    nice, really nice!

  • Kevin Leary, 21 May 2009

    Thanks for this, I’ve been working to improve the performance of my site as of late and I found this to be very, very helpful. One plugin I found useful that isn’t on the list is the Cache Images plugin. It will cache external remote images locally. If you have a blog or website with a good amount of imagery this is a HUGE help. Here’s the official plugin page if anyone is interested:

    http://wordpress.org/extend/plugins/cache-images/

  • Music, 20 October 2009

    Great Tips ;)
    so thanks

  • tiles, 22 October 2009

    Great tips and some that I have been meaning to do for a long while. I’m giving myself a virtual kick up the backside to go and do them now! Thank you.

  • Maleficus, 24 October 2009

    Don’t 4 and 13 kinda serve the same purpose, while Optimize DB is much faster and easier to use? Great article overall, however css sprites are worth mentioning too.

  • ,..] http://www.noupe.com is another useful source on this topic,..]

  • WPExplorer, 25 December 2009

    Everything on this list is so useful. Thank you. Now back to speeding up my site. :)

  • Mados, 26 January 2010

    Really Helpful Tips&Tricks

    Thanks,

  • Phamc, 29 January 2010

    Very helpful, thanks for the Information!

  • sunnybear, 19 February 2010

    PHP Speedy is out-of-date. There is a new plugin with the same concept – WEBO Site SpeedUp, http://wordpress.org/extend/plugins/web-optimizer/

  • Michele, 26 February 2010

    This is a brilliant article! Thank you so very much! :)

  • HD DSLR, 05 March 2010

    Awesome! Thank you

  • chandan dutta, 16 March 2010

    web designer
    nice tutorial is really helpful .Thanks a lot

  • Laptop, 19 March 2010

    Really cool tips Thanks A Lot!

  • Robin Benedict, 29 March 2010

    I need this for increase loading speed my blog

  • Santosh Bhandarkar, 05 April 2010

    Also check wp-admin/options.php. There is a variable called “gzip” which is left blank by default. Enter a value of 1 in this field to enable gzip compression.

  • MySQL nedir, 26 May 2010

    Great information, really will help me.

    Thanks

  • allhimachal.com, 30 May 2010

    Great tips to optimization… its really helpful.

  • Alfasamec, 20 August 2010

    Great post. I’ve tried all of them before and my blog is still cut-my-wrists slow. I blame GoDaddy, because it’s the only factor left.

    Thanks for you post, though.

  • Kevin Leary, 31 October 2010

    For CSS, XHTML & JavaScript compression I’d suggest checking out the Autoptimize plugin. I’ve outlined that and a few other technique I used to bring my site load down from 8 secs to 3 secs:

    http://www.kevinleary.net/how-to-speed-up-your-wordpress-website/

  • Hallie Erceg, 19 November 2010

    Oh Skittles… you’re adorable.

  • McErrick, 15 December 2010

    about #5: moving pictures and other static files to an external server does not necessarily speed up your website. As shown in the diagram, the server CPU load will be decreased, but this is not a direct measure for a web page loading time.
    In fact, external files can slow down a web site dramatically (external ads, anyone?)
    Use this possibility wisely!!

  • Aditya Perdana, 28 December 2010

    very helpful tips that I have a blog based on wordpress blog

  • shyam jos, 28 December 2010

    really helpful post

  • Carmen, 14 January 2011

    Thanks so much for this excellent article. I have already implemented some of these tips after reading this post and it certainly has seemed to help speed things up. I really appreciate your posting this information!

  • Rajesh Namase, 26 February 2011

    I was looking for this certain info for a long time. Thank you and good luck.

  • Smart Click, 27 February 2011

    Thanks for this article, this article very use full for me

  • redlex, 22 March 2011

    hi/ Great tips and some that I have been meaning to do for a long while. I’m giving myself a virtual kick up the backside to go and do them now! Thank you.

  • kays, 13 April 2011

    Just what I was looking for thank you!

  • Esmalte, 14 April 2011

    I managed to flash the Amon Ra 1.7.0H to recovery. I had to free a lot of mem on my internal memory before I managed to flash.

  • Shaharyar, 23 April 2011

    Nice.. Great tips and plugins you have suggested in this post. I used Wp-minify and php-speedy. It worked and increased the speed upto 81 from 74/100.

    Thanks again… :)

  • Roger, 31 May 2011

    Thanks for this, I’ve been working to improve the performance of my site as of late and I found this to be very, very helpful. One plugin I found useful that isn’t on the list is the Cache Images plugin. It will cache external remote images locally. If you have a blog or website with a good amount of imagery this is a HUGE help.

  • Great post. I’ve tried all of them before and my blog is still cut-my-wrists slow. I blame GoDaddy, because it’s the only factor left.

  • Maximjke, 07 June 2011

    i have wordpress blog and this post has helped me) Thanks.

  • Sam Patwegar, 20 June 2011

    I see that many websites are using WP-total cachce. However, the speed on this website is amazing. wondering which one is better?

  • there are new breakthroughs on how to speed up wordpress simply by adding code to the htaccess file without the plugin

  • Moe Hassan, 25 June 2011

    Thank you for sharing those valuable information i always had troubles optimizing my WP site with over 800K visitors/month and they were all unhappy with the site speed, your tips helped me much.

    keep u the great work please

    Moe!

  • bacchus, 10 July 2011

    thanks a lot !!
    you saved my life :)

  • I managed to flash the Amon Ra 1.7.0H to recovery. I had to free a lot of mem on my internal memory before

  • Shobhit, 28 November 2011

    Interesting…and most of them are practiced on my blog but still it’s loading slow :(

  • Mihir @ India Price Buzz, 10 January 2012

    I have done most of the the tasks the also I am getting screwed on the name of load speed in SEO.

  • Francisco d'Anconia, 17 January 2012

    CMS systems are very tricky to Overclock ! Sometimes too much of this stuff can cause the opposite effect. The best thing to do is to start with the basics such as Gzip from the server side and than build on to it. If you are using a Rockettheme they have alot of great encoding plugins to help boast performance.

  • Jessica Frankie, 28 January 2012

    Thanks very much for this article. I really needed some sort of WordPress documentation to make my website even faster.

    Jessie,

  • Ross, 11 May 2012

    Thank you so much! I was really worrying about the speed of my WP blog because it is using a remote database and took ages to respond. Now it’s extremely fast!

  • Vladi, 26 September 2012

    #12.Display page loading time + number of queries is good to know but only use while testing things out.
    After that, I becomes just another useless query the site has to make.

  • Araba, 05 October 2012

    Very useful tips, thank you very much,
    Regards

  • pankaj, 07 January 2013

    Very informative and important tutorial for the WordPress user. Thanks forsharing

  • MrsGrapevine, 11 March 2013

    Thanks for the list. With so many pictures on my site, I’m not sure how much this will help. But every little bit helps.

  • Farzana Neha, 10 August 2013

    Nice speedup tips and tweaks. I need to optimize my WP site for better loading speed. I am gonna try some of your tips soon to check out differences.

    Thanks;
    Farzana Neha

  • Honey Singh, 05 September 2013

    Brilliant just optimized my database size after reading this post, and Whoa just reduced the database size from 80 MB to just 47.9 MB, that’s mind blowing :D

    Thanks you so much for this post, it really enhanced my site performance!

  • Ishaan Bhati, 02 January 2014

    A very useful post, I just removed the unnecessary plugins and guess what it works! Nice tip, it helped me a lot I installed many plugins that are not necessary but now my WP speeds up a bit. I will try to use all the tips. Thanks for this informative post.

  • Ben Hanna, 18 January 2014

    Nice post with some good tips. Installing Total Cache will do a lot of the things mentioned also. I just started my own service for speeding up wordpress blogs for $99

  • Sheshnath, 14 February 2014

    Useful Stuff!!

search form
 
image description image description