From time to time I receive questions about speeding up the public-facing side of WordPress. In this article, I’ll cover what I do to improve the speed of my personal websites in the hopes that it will help you with your WordPress website.
[ Key TakeawaysIn this article, I discuss ways to improve the speed of your WordPress website. I suggest setting up a content delivery network (CDN) with Cloudflare, optimizing images with ShortPixel Image Optimizer or WebP Express, and switching to LiteSpeed server hosting with cPanel. I also recommend choosing plugins carefully, testing and noting your website speed, clearing the cache after making changes, and using specific website page speed testing tools. ]
Cloudflare
Start By Setting Up Your Content Delivery Network (CDN)
Cloudflare is the number one free option in my book. Cloudflare can be set up with any website hosting company.
The free version of Cloudflare will cache your most accessed pages and files, and help to reduce the load spikes that may cause your website to load slowly at times.
Your Cloudflare TODO
-
- Once your WordPress website’s DNS settings have been updated, be sure to install and configure the Super Page Cache for Cloudflare plugin for Cloudflare as well.
- Optionally, consider doing a bit of research on Google related to the term “WordPress Page Rules“. The free version of Cloudflare includes an option to add a few WordPress related page rules to further improve WordPress related caching.
- If you are serious about using Cloudflare and speeding up your website’s, consider reviewing the most recent articles on Cloudflare’s Speed & Reliability Blog. And be sure to checkout Cloudflare’s “Optimize site speed” course.
Cloudflare Basic versus Pro Options:
Smaller sized images equals faster page loading
ShortPixel Image Optimizer is my go-to image optimization plugin. While WebP Express simply serves autogenerated WebP images instead of JPG and PNG to browsers that supports WebP. WebP lossless images are 25% smaller in size compared to PNGs.*
The ShortPixel Image Optimizer plugin has quite a few more features than WebP, though does require a bit of an initial learning curve to set up.
If you have a website with lots of large PNG images and you are short on time or personal attention span, WebP will convert those images quickly. Just click it and go to lunch!
*As far as I’m aware the only web browsers that do not support the WebP image format are older versions of Safari, and Internet Explorer.
What are the comparative features between the WordPress plugins ShortPixel Image Optimizer and WebP Express WordPress?
Below is a comparison of features between ShortPixel Image Optimizer and WebP Express:
LiteSpeed Hosting
Move your site to LiteSpeed server hosting with cPanel.
LiteSpeed hosting will greatly improve your websites performance at the same or lower cost than you are paying now for shared hosting. There’s really no reason not to make the switch—at least not cost-wise.
Configuring LiteSpeed Cache for WordPress
Once your site has been migrated to LiteSpeed Hosting, log into your hosts web host’s cPanel.
- Click the “Cache Configuration Presets” option.
- Then click the “Essentials -> Apply Preset” button.
LiteSpeed includes an extensive list of advanced caching options as well. For most websites, the “Essentials” setting will work just fine.
And if you have an interest in further tweaking your page optimization settings, see the “LiteSpeed Cache Page Optimization” section.
Website Speed Optimization Lessons Learned
- Choose your plugins carefully; the fewer active plugins you use, the better. Learn more in my article, What are the top 20 WordPress plugins to avoid?
- Test and take note of both your website’s home page and secondary web page speeds before making further changes to your optimization settings.
- Always clear your website’s cache after making optimization changes.
- Use these website page speed testing tools to test your website optimization changes (in order of helpfulness):
- WebPageTest
- Gtmetrix
- DebugBear Website Speed Test
- Page load time (a browser extension)
If need help with any of the recommendations above, please feel free to ask me, Jim Walker, (619) 479-6637.
___
I hope you’ve appreciated this article. Before you move on, I wanted to ask if you would consider buying me a cup of coffee as a thank you. It takes a good bit of time to put together helpful articles, not to mention the energy required to write when I’m not focused on helping people with their hacked websites or security concerns. Thank you for caring!
Leave a Reply