WordPress is a wonderful application that allows us to host many different kinds of websites, including blogs, e-commerce sites, photo gallery sites, etc. From small sites, to large scale, high traffic sites, it has all the features we need.
However, as with any kind of website, it is possible that a large influx of traffic could cause slow load times, connectivity issues, etc. Below we will outline some basic tips on how to optimize your WordPress install to help reduce these problems.
Note: The information that is provided below is some of the basics of what you can you do to optimize your site. For even further details, including the types of plugins that you can install to assist in the process of optimization, please check out this article on our knowledgebase.
Often times, a database will become fragmented or bloated. You can use the “Optimize” function in phpMyAdmin to optimize your tables. This will help reduce overhead on the database and increase performance.
For information on how to do this, please click here.
Heavy Graphics and Themes
This also goes for any photos you may have. WordPress already does a good job of making thumbnails of the images you upload, but some gallery plugins may not work the same. Make sure you keep an eye on the size of the images that get uploaded to your website.
Number of Plugins
Using a large number of plugins could cause extra server load. Take careful note of how many plugins you install and what each plugin does. For example, using a plugin such as a tracking plugin that does something every time a page is loaded could cause extra database calls, higher cpu use, and more memory usage. In-turn, when under heavy load, all of this could cause a delay in load times, or pages not to load at all.
If you notice any of the symptoms that we talked about, you could try disabling plugins (one at a time) to see if one particular one is causing the issue. You could then try tweaking the plugin to help reduce the server load, you could also try disabling said plugin, or you could attempt to contact the creator of the plugin to see if they are aware of the issue.
You can also install the P3 (Plugin Performance Profiler) to check the performance of your other plugins.
Cache Plugins work in a similar fashion as browser caches. It stores a copy of the website in the form of html pages to help reduce database calls, in turn reducing the server load. There are a few highly recommended plugins that will enable this functionality.
WordPress has a function that runs every time a page is loaded that can also add unnecessary load to your website. You can easily control this by using the WP-Cron Control plugin.
Please be aware that you will need to setup a Cron Job in addition to this plugin. For information on how to setup a Cron Job.
In some cases, your site may become so popular (congratulations!) that you outgrow the servers capability. In cases like this, when all other attempts of optimizing your site don’t work, you may want to consider upgrading your service.
For example, if you are currently using a HostPro service, and you start noticing high load times and other optimization techniques are not efective, you may want to consider upgrading to a Virtual Server (VPS) . This will provide you with not only more resources, but dedicated resources that you and you alone can use.
If you have any questions in regards to upgrading, please contact our support team so they can help assess your current usage and provide you with a recommendation that will fit your needs.