How much time do you expect it to take for a blog to load? Many users start to get impatient after waiting for five seconds. Others are more generous, allowing for ten seconds to reach that great content. There are many factors which affect loading time like pictures, your hosting services and your database. Here are ten ways which will help you optimize wordpress speed.
- Deactivate Post Revisions – If your blog has a single author, do you need to have your post revisions activated? Every time that you create or update a blog post, more lines are added to the wp_posts table. This is something which can be turned off in your wp-config.php file.
- Remove Unnecessary PHP tags – There are probably PHP tags which can be removed from your style sheets. Is there any site information which is static and can be ‘hardwired’ directly into your blog? Here is a great primer for taking out those tags.
- Get Quality Hosting – Free hosting services are not paying attention to the bandwidth that you are receiving. Servers will regularly fail and load times may suffer as a result. Fortunately, web hosting is not terribly expensive. At Hostgator, you can pay less than $10 per month for quality web hosting.
- Turn On Caching – Your site will take longer to load with each PHP script that is running on your site. Static HTML files take less time to load. See how much time that you can eliminate from your load time by using caching. Use the WP Super Cache plugin if you are a WordPress user.
- Optimize Your Database – Like defragging your hard drive, it is necessary to optimize your database. Occasionally, small fragments of posts and plugins are left behind and need to be removed. For those who have WordPress blogs, WP Database Optimizer is a great place to start.
- Crunch Images – Look at the images that are on your site. Is the coding doing all of the work to resize your pictures? Can the screen resolution be reduced? Take a moment to use an image editor to reduce the size of your pictures. There are free web services like Crunch 4 Free which will reduce the size of your images without reducing their readability.
- Store Images Elsewhere in the Cloud – You might want to store your pictures elsewhere to avoid the issues of hotlinking. Use somebody else’s bandwidth to serve optimized images to your site. You can choose from popular sites like Flickr or Photobucket to store your shots.
- Drop Unwanted Plugins – Take a look at the plugins that you are using for your blog. Are there any redundancies? Are there any which are obsolete? If you cannot find a good reason for the plugin or the plugin has served its purpose, eliminate it.
- Disable Hotlinking – Hotlinking is the process of allowing other users to put your images on their site. They are accessing your pictures directly instead of downloading them and hosting them directly on their own site. You can remove hotlinking by altering the code in your .htaccess file.
With each second of loading time, you are trying your blog reader’s patience. Fortunately, there are several easy ways to speed up the loading time of your site. Each little nudge of speed helps you to have happy visitors.