My Site is Loading Twice As Fast Today As It Was Last Week. How About Yours?
Earlier today I did some behind the scenes work to speed up my site, and I thought it might be helpful if I walked you through the process and shared a bunch of tech tips that don’t really translate to list posts.
As you may recall, I spent last Saturday night replacing my blog theme. One of the reasons I wanted to make the change was that my site was slow when running the old theme (Magazine from MH Themes).*
The blog posts and pages were loading in four to six seconds. That is an acceptable load time if your site is on a terrible hosting company like EIG, InMotion, Godaddy, BlueHost, LiquidWeb, or 1&1,** but my sites are on my own server. I don’t have to share resources with anyone other than clients, so my site should really be loading faster than four seconds. ***
I did have a plugin called WP Rocket that was supposed to speed up my site, but it wasn’t really helping any more. (Plus, it broke every so often and showed visitors random code in place of blog posts.) I wanted to replace WP Rocket, but my preferred alternative was not compatible with my old theme.
But then this morning I got another bug report from someone seeing random code in place of the blog post they wanted to read, so I decided it was time to stop putting off fixing this problem.
I spent some time today installing and configuring a plugin called Swift Performance Lite. This free plugin is not widely used yet, but it is currently very popular in WordPress tech support circles because it is easy to set up and is highly effective at speeding up WP sites.
The first thing I did was make a backup of my site, and then I deactivated WP Rocket. Performance plugins sometimes do not play well together, so you should take care not to use two plugins to do the same job.
Next, I installed Swift Performance Lite, made sure my site was still running (sometimes you don’t know a plugin will cause problems until after you turn it on), and let it run its setup wizard.
The great thing about Swift Lite is that this plugin does most of the work for you. I have seen client sites go from loading in eight seconds to loading in three seconds after running the setup wizard (it really is that good).
Swift Lite improved my site’s load time to around three and a half seconds. I know this because I tested the site with GTmetrix, a free, online, comprehensive site performance test.
But as good as that was, I wanted to see if I could do better. So what I did next was to go into Swift Lite’s settings menu and enable its options one by one. My process worked something like this:
- Check a box to activate a feature.
- Save the settings, and clear the cache.
- Re-run the GTmetrix test to see if performance improved.
- If the site is slower, uncheck the box and save the settings again.
- Go on to the next feature, and repeat the process.
After a half hour of testing one feature at a time, I managed to get my site to load in under two and a quarter seconds. Some pages are even loading in as little as 1.7 seconds.
That is a great load time, enough so that I can declare victory and stop. (For one thing, my time would be better spent optimizing my clients’s sites.)
I do actually know how to make my site load even faster, but at this point the trade off isn’t worth it. I’ve already taken a lot of steps to speed up my site, including doing things like removing non-essential plugins, so what I would have to do next is to look at my essential plugins and decide which feature I no longer wanted on my site. Since I am kinda attached to things like a spam filter, firewall, and mailing list sign up form, I can’t exactly give them up.
All in all, this was definitely worth an hour of my time. My site is faster, and I got a blog post out of it as well.
If you have a site, you should definitely take some time to see if it can run faster. Or better yet, hire me. This is one of the services I offer under my monthly support plans.
* * *
P.S. One of the reasons I chose my new theme (SiteOrigin Corp) was that in my experience SiteOrigin themes loaded quickly. I sped up my site by replacing a slow theme with a fast one.
P. P.S. Yes, those are terrible hosting companies, and yes, your site would be faster if it were hosted elsewhere. I have horror stories about each and every one of those hosting companies, and would not wish them on my worst enemy.
P.P.P.S. If you want a recommendation for a better alternative with great service at an excellent price, I’ll let you in on a secret known to very few: Peopleshost. I have my server with them, and I also have a client on their managed WordPress hosting. I was surprised by the performance given the price they charge for WP hosting.
Comments
Bill Peschel October 26, 2018 um 9:22 pm
Well, that’s interesting. I went from an F to an A on the PageSpeed score, but the Fully Loaded Time went from 4.0 seconds to 16.2 seconds. I’ll still call that a win, so thanks a lot!
Bill Peschel October 26, 2018 um 9:23 pm
Actually, that’s an F to B. It was the YSlow score that went from D to A.
Bill Peschel October 26, 2018 um 9:45 pm
Now I deactivated the plugin. The latest GT test showed it was taking 34 seconds for the front page to load. This caused Chrome to throw up the text without art (the interior pages were fine, however). Deactivating the plugin reduced the page load to 7.2 seconds, with a speed of C and a YSlow of D. So it’s better than what I started with, so it’s a plus. I’ll look into it this weekend.
Sorry to be reporting in the middle of the process. I didn’t realize this would happen.
Nate Hoffelder October 26, 2018 um 10:06 pm
This kind of thing happens.
Kevin Moriarity October 27, 2018 um 9:20 am
It may be faster, but I can no longer read your blog on Chrome on my Android phone.
Nate Hoffelder October 27, 2018 um 9:48 am
why not?
Kevin Moriarity October 28, 2018 um 9:52 am
It works great this morning. Can’t explain why it didn’t before.
? October 27, 2018 um 4:59 pm
@Kevin Moriarity: Cannot confirm, works fine on my Android phone with Chrome.
Nate Hoffelder October 27, 2018 um 5:16 pm
I think Kevin may have encountered the sing up form bug. It’s not supposed to show on Android, but it is.
Kevin Moriarity October 28, 2018 um 9:53 am
It works great this morning. Can’t explain why it didn’t before.
Kevin Moriarity October 28, 2018 um 10:00 am
The symptom was I could not scroll in any direction. (Sorry I forgot to tell you the most important thing!)
Nate Hoffelder October 28, 2018 um 10:24 am
I changed a setting to fix a different bug report. The issues may or may not have been related. (I think they were)