In order to speed up WordPress websites and improve load time for WordPress websites, it typically requires a multi-faceted approach to achieve the best results. Unfortunately, there is no “magic wand” approach to speed up WordPress, and in most cases, does require quite a bit of web development and technical knowledge to really get the job done. However, within the WordPress plugin ecosystem, there are a number of tools available that can help with some of the more tricky configurations when you try to improve load times for WordPress websites. Below we’ll cover a few of the most impactful updates you can make to a WordPress website to improve PageSpeed and load times.
When trying to speed up WordPress, start by taking a look at your website images. The first thing that any WordPress website owner should do prior to uploading any images to their website is optimize them. Most people don’t realize just how unnecessarily large images can be before they are optimized for the web. Optimizing for web typically just removes any unnecessary image tagging data, EXIF data, location data, and unused color data, so images can be considerably optimized without losing any quality. Image size is usually one of the biggest problems when it comes to slow website speed, so we are usually able to speed up WordPress websites quite a bit with our first round of image optimization.
If you do not have a plugin on your website to help with image optimization, you can always use the website TinyPNG.com. Their optimization tool is free to use and does an excellent job of compressing .jpg and .png images. They also have a WordPress plugin available that you can install on just about any WordPress website. All you need to do to use the plugin is generating a free API key on their website, and then any new images uploaded to your website as well as any existing images on your website can be compressed.
Of all of the page speed improvements, we will detail, image optimization can often times have the biggest impact when trying to speed up WordPress. This is due to website owners uploading images that exceed reasonable sizes. We typically suggest images be no larger than 300kb – 400kb for banner images and 150kb to 200kb and less for smaller images. We also suggest that you keep the total number of images on a page between 10-12 at most and make sure that image dimensions never exceed 2000 pixels in width. One really easy way to improve PageSpeed for WordPress websites is to make sure your images are optimized.
There are a number of ways that code can be minified and combined depending on the resources available and your comfort with code. First, there are a number of plugins available within WordPress that will do this for you. If your site is already developed, you are using a pre-built theme, or are uncomfortable using command line based web design tools, then a plugin is probably the best bet for you. There are a number of great options available, all of which are very low risk to site health as soon as they are disabled, any impact would be immediately reversed. You will also typically see the impact from these tools in tests like GTMetrix or our website grader right away, making them great to improve PageSpeed for WordPress.
If you’re comfortable with web development or command line based web design tools, then you may want to use Gulp. Gulp is a streaming build system that uses NodeJS to run on your machine. Gulp can be used to compile SASS files, combine and minify CSS, combine and minify JS, minify HTML, minify and optimize images, and so much more. Gulp does require an intermediate level of web design knowledge, but you can learn more about Gulp and how it is used here.
The server your WordPress website runs on will also play a big part in whether you can speed up WordPress websites. There are a number of server modifications that you will need to make but here are a few of the more important ones.
You will want to make sure your website has Gzip enabled, which will ensure that all of your website files and assets are compressed at the server level. You will also want to do things like adding expires headers to all of your static file types, configure ETags, and make sure your .htaccess file has all of the necessary compression enabled. While it does take a more experienced developer to implement these changes, you are usually able to speed up WordPress considerably by improving the way your server delivers the website. If you would like more information about our WordPress management services, schedule a consultation today.
Once you’ve implemented all of the other changes from above, you can then begin to look at page caching and server caching. Caching creates a “saved” or “cached” version of the website at the time the page is loaded. The server then is able to load the “cached” version of the page or pages instead of having to load the page and all of its assets each time.
For example, if your page has several images, scripts, images an CSS files, by caching these files you are able to load them directly from the cache instead of having to request them from the server each time the page loads. This can save a considerable amount of time for users, especially for pages with heavier content.
The website owner will also have control over how often the cache refreshes. For example, if the website is going to be updated with new content every 4 hours, you will want to make sure the cache is cleared and refreshed directly afterward. You can usually set this to occur on an action, like when a new post is published. You can also trigger the cache clear manually at any time with just about any caching plugin.
When it comes to caching plugins, they’re all great in their own ways. Two of the better ones we have used however are WP Fastest Cache and W3 Total Cache. Both of these caching plugins are “plug and play” and will deliver huge WordPress website speed improvements.
Our Favorite WordPress Page Speed Plugins
Not all WordPress plugins will slow down your website. When it comes to caching and minifcation plugins, you should see big jumps in your page speed scores after enabling these tools. Here are a few of our favorite WordPress caching plugins.
WP Fastest Cache
By far our favorite caching tool for any WordPress website. This caching plugin handles a number of really impactful server-side caching needs and server optimizations with a few clicks of a button. All of the general features of the plugin are free to use for any WordPress website user, and like many premium plugins, there are premium features available for an upgraded cost. We definitely recommend testing out WP Fastest Cache on any WP install where you will be using caching.
W3 Total Cache
W3 Total Cache is another excellent caching plugin available for free to any WordPress user. W3 Total Cache improves website speed by improving server performance, caching every static aspect of your website, and reducing the download times of content. W3 Total Cache also integrates with just about any CDN right out of the box allowing your caching and CDN to communicate a bit better. W3 Total Cache is another great option for just about any WordPress install.
Fast Velocity Minify
Fast Velocity Minify. The plugin developers update the plugin often, it works well with just about any WordPress website, and it has a major impact on overall WordPress website speed.
Compress JPEG & PNG Images
One of the easiest places to make big gains in your website page speed score is in your image optimization. Often times, website owners will upload images that are too large, not optimized, and at much larger dimensions than necessary. While WordPress does have native functionality that allows developers to resize images that are too large, image optimization is something else entirely. The website and service TinyPNG.com created a WordPress plugin that utilizes it’s API to easily and efficiently compress all of your website images. The tool allows you to compress and optimize images on demand and will also optimize images as they’re uploaded. This plugin is one of the most powerful plugins that you can have on any WordPress website, and best of all it’s free to use.
There are a number of other excellent WordPress plugins that will help with website speed including caching plugins, compression plugins, minification plugins, and more. We encourage you to test out a variety of plugins for yourself in a development environment to get a better idea for the caching stack that works best for you.
Speed Up WordPress
If you own a WordPress website and are interested in improving the web page speed, page load times, time to first byte or any other PageSpeed metric, we can help. Page speed plays a crucial role in your websites page ranking, so it’s important that your website is optimized for premium performance. If you would like more information on how we can speed up WordPress websites, contact us today to schedule a strategy session.