10 wordpress performance optimisation tips
I wanted to prepare my wordpress powered blog for an influx of traffic from social media sites such as reddit.com or digg.com, in case one of my articles got big, so I decided to investigate what could be done to optimise the performance my blog.
This is the result…
- Upgrade to the latest version of WordPress. Each version has more performance improvements. Try using the WordPress Automated Upgrade plugin.
- Avoid using lots of large javascript or css files or huge images in your site template or try to Minify them.
- Disable any plugins that you don’t use or need.
- Enable WordPress Object Caching, and learn how.
- Try WP-Cache2 or WP Super Cache (based on WP-Cache) ideal for large sites, with lots of traffic.
- Optimise your MySQL database tables.
- If you’re serving lots of images, offload some to free image hosting sites such as flickr or imageshack.
- Use Xdebug to check if the plugins you are using are causing performance issues. If they are, get rid of them.
- Use Mysql Query Caching to speed up calls to the database.
- Use PHP Opcode Caching such as eAccelerator.
Also read how to configure Apache for performance.
Warning: Declaration of Social_Walker_Comment::start_lvl(&$output, $depth, $args) should be compatible with Walker_Comment::start_lvl(&$output, $depth = 0, $args = Array) in /Users/wade/Sites/hm2k.org/wp-content/plugins/social/lib/social/walker/comment.php on line 18
Warning: Declaration of Social_Walker_Comment::end_lvl(&$output, $depth, $args) should be compatible with Walker_Comment::end_lvl(&$output, $depth = 0, $args = Array) in /Users/wade/Sites/hm2k.org/wp-content/plugins/social/lib/social/walker/comment.php on line 42
I would also recommend the WP-Offload plugin. It mirrors the static content in your posts automatically (mainly images) and delivers it from globally scattered cache servers. Therefore, less bandwidth consumption, less CPU load.