There are a lot of different people and different plugins giving different ways of purportedly delivering speed in WordPress. Which of them are actually necessary? Which give the most benefit?
If you’re running a WordPress site, and wanting to optimize it to make it the fastest it can be, you’ve come to the right place! We’ve done the testing and benchmarking, and found what we think will be best for most websites. There are a number of things that can help the speed of your WordPress site, some of which can have a greater impact than others. We’ll give you them in order of most benefit first, and include items you can get for free or come with your hosting service (at least on AccelerHosting they do).
One great way to measure the performance of your site is Google’s PageSpeed Insights. Since Google is the most popular search engine, and they now base part of their search rank on page speed, we think it’s best to use their tools to do the testing. You may want to test your site now, to see how it performs before applying any optimization.
Plugins for File Minification, Consolidation, and Caching
There are a lot of WordPress Plugins promising speed increases. We’ve done a lot of testing, and ultimately found the fastest speeds come down to two essential WordPress plugins. We tried many different caching plugins, and saw good benefits from them, but for the ease of use cateory, ultimately we found the best pair was Autoptimize and Cache Enabler. These beat all the others and were the fastest by quite a large margin! You don’t have to just take our word for it though, as others have come found the same results.
The combination of these two plugins basically is able to minify your external files and then combine them into 1 file so it will make less requests to the server, and then caches the content so that it can be returned without much CPU usage or database calls. These two plugins will most likely work on any server, but AccelerHosting‘s servers are highly optimized for caching with WordPress in this manner. This results in ultra fast response times.
Recommended Autoptimize Settings
Images can be a large part of the download that is required when a user visits your site. You’ll want to make sure that you’re not delivering images that are too large in resolution and are appropriately compressed for the web.
Modern image formats
One of the things that Google’s PageSpeed Insights often recommends is to “use modern image formats.” We’ve found the most pain free way to accomplish this is to use a WordPress plugin called WebP Express. This plugin, when configured will compress your images into a super compressed format called WebP which is used by modern browsers like Chrome. This allows for the same image to be transferred in a much smaller file size, but only if the user’s browser supports it. Otherwise it will fall back to regular image formats.
Best Caching Plugin for Power Users
For power users, we’ve found the best plugin is LiteSpeed Cache, with its huge array of options and depth of control. It’s only compatible with servers that have LiteSpeed software enabled, which AccelerHosting does, so our customers are in luck!
Cloud powered CDN
The last thing we’d recommend, though it’s not WordPress specific, is using a CDN (Content Delivery Network). We’ll cover more on this later in a separate article, but this can especially have a big impact on the speed of your site when you start getting a lot of traffic. It basically uses multiple different web servers across the world to deliver your content to the users in the closest and fastest way possible. AccelerHosting offers this capability built right into the your accelerated cPanel with a button called “CloudFlare”, where you’ll be able get your site flying in the clouds fast!
So what kind of results can you get when you combine all these techniques? We’ll give your the results of our site’s home page as an example, which is currently being run on WordPress. On Google’s PageSpeed Insights it currently gives us a perfect score of 100 out of 100 score, which is better than any other hosting company that we’re aware of! Have a look at these screenshots and see for yourself.
Here is the score for mobile:
And here is the score for desktop:
This might not seem so impressive if you don’t have context. How does this compare to other sites you might ask?
We decided to benchmark one of the most premium WordPress web hosts around (who charge an expensive price to go with it), and found that they got a dismal 22 out of 100 on Google’s PageSpeed score. A 22/100 would be a failing grade, and Google indeed reports highlights it with a red warning:
But don’t just take our word for it. Have a look at Google’s PageSpeed Insights and run the speed test on some sites, and judge for yourself.
Choose a Fast Theme
Remove Plugin Bloat
A Faster Cron Job
This step is more for power users, and is optional. Cron jobs are a way for scheduling tasks to happen at certain times.
A System Cron job is similar to a WP-Cron, in that they both run scheduled tasks, but a System Cron job will always run at a certain time regardless of their being visitors to your site. Conversely, the WordPress WP-Cron runs only when users visit pages. To run your cron jobs in a separate thread, and not slow down your visitors (or yourself visiting the admin panel), you’ll want to set up a System Cron job in cPanel to automatically run WP-Cron on certain intervals.
Speed Up The REST API
If you’ve got a WordPress site already, try all the above mentioned steps, especially adding and activating the Autoptimize and Cache Enabler plugins, and see how far they get you. If it’s still not fast enough, you might consider switching your site to a faster hosting service such as AccelerHosting. By some third party metrics, we’re the #1 fastest web host!