Simple tips to speed up your WordPress blog

WordPress is everywhere – it powers over 30% of all websites! And for good reason – it’s pretty good. It’s free and most importantly, easy to customize. In 2019, it’s far more than blog software. Instead, think of it as a solution that can single handedly power a website. In this article, we’ll look at some quick ways to give your site a boost, helping you gain more visitors, who are happier (no one likes a slow website).
  1. If you’re using PHP 5, first of all, you shouldn’t be, as it’s End of Life and no longer receives security updates. And second of all, it’s considerably slower than PHP 7. Why not make today the day that you make the move? We recommend version 7.3, but 7.1 and 7.2 would also be suitable; they still receive security updates.

  2. Remove any plugins that you’re not using, or don’t need. Not only can plugins reduce your WordPress site’s security (i.e. if they’re badly written), but they can also add overhead, slowing the time taken for your pages to load.

  3. Use caching. There are various ways to do this, but we recommend using the LiteSpeed Cache plugin if possible. The only downside is, it’s only available for servers that use LiteSpeed as their web server (our shared hosting plans do, if you’re interested!), so you may have to look around a bit for other caching solutions.

  4. Benchmark your site using tools like GTmetrix and PageSpeed Insights. These will often provide helpful tips specific to your website, as well as allow you to see how your site is performing in comparison with other websites.

Feel free to contact our support team for any questions related to the contents of this post, or for assistance in getting the very best out of your existing website!


3 ways to boost performance for your cPanel websites

If you’re anything like us, you’ll love optimizing servers to get the best possible performance. A 5% boost here, a 3% boost – it all adds up to make a difference that’s visible to the eye eventually!

In this tutorial, we’ll be walking through a few quick changes you can make on your cPanel server to make your visitors happier, courtesy of faster load times.

  1. Enable PHP compression. PHP powers most websites. For example, WordPress, used by 32% of the web. We can compress our PHP content using Zlib, which is transparent to both you and your users, and shouldn’t cause any problems. To enable it, login to WHM as the root user, and navigate to “Software » MultiPHP INI Editor”. Under “Configure basic settings of a PHP version”, select the PHP version you would like to enable it for (if not all versions) and tick the “zlib.output_compression” box, as shown below:
  2. Enable Apache compression. Through Apache mod_deflate you can compress your website’s content before it is served to the visitor, resulting in faster page load times! To do so, simply login to cPanel and click on “Optimize Website”. You’ll then want to Compress All Content. Please note that in order for this option to appear in cPanel, you must first have mod_deflate enabled as one of your Apache modules. If you do not have it enabled, you can do so via EasyApache in WHM.
  3. Migrate to PHP 7.x. The initial release, 7.0, is considerably faster than 5.6, and the latest (as of this blog post) is 7.2, which is even faster yet again compared to 7.0! We have customers running PHP 7.2 in production, and also use it for our own website, with nothing but good things to say! If the speed gains do not convince you, this might: security updates for PHP 5.6 end on the 31st December 2018. It’s fully supported by most major software, including WordPress, who recommend using PHP 7.2. cPanel makes switching PHP version very easy. Simply login to cPanel, click on “MultiPHP Manager” and assign the desired version to your domain.

phpMyAdmin slow? Here’s the fix!

If you’re ever noticed phpMyAdmin take a long time to load whilst navigating your cPanel server, the fix could be simpler than you think!

First of all, you need to login to WHM (Web Host Manager) and visit Tweak Settings (under Server Configuration). From here, navigate to the SQL tab and check the status of the “Use INFORMATION_SCHEMA to acquire MySQL disk usage” setting. As standard with all cPanel installations, it is enabled.

If we read the description provided cPanel themselves:

Using INFORMATION_SCHEMA ensures that disk usage by MySQL tables is included in totals. However, enabling this option may cause a significant drop in performance as MySQL may become unresponsive until data collection is complete. Disabling this option causes the system to query the filesystem directly, potentially excluding disk space used by some database tables. Note: If you use a remote MySQL server, you must turn this setting On in order to calculate MySQL disk usage.

It’s the bit written above in bold that we’re most interested in, which may be relevant to the slowness you’re seeing.

Before you disable INFORMATION_SCHEMA, make certain that you’re happy with the disadvantage in doing so, in that there may be inaccuracies with the reporting of your MySQL disk space usage.

More information about this setting can be found in the cPanel documentation.