Give your visitors the best experience possible by ensuring that your site loads quickly and reliably.
Jetpack tools such as Site Accelerator and Jetpack Boost can help. In some cases, you may want to make additional improvements. This guide offers some suggestions on how to improve your site’s speed and performance.
Measure your site speed
With Jetpack Boost, see a numeric score and letter grade that indicates your website speed score as measured by Google.
An example screenshot shows an overall letter grade score, with a mobile and desktop score out of 100.
In WordPress.com Dashboard, the Jetpack Activity Log keeps a history of your site’s speed scores. Here you can monitor speed fluctuations and correlate them with specific site changes, such as enabling plugins or anything else, for informed optimization decisions.
In some cases, you may find that you want to continue to optimize the speed of your site or that Jetpack Boost doesn’t make the improvement you are looking for. What follows are some additional suggestions.
Note: Optimizing your site’s speed and performance isn’t something we can assist with per our Scope of Support. The suggestions here are provided as-is.
While the numbers in Jetpack Boost give you some guidance, you can get more information using Google’s PageSpeed Insights tool. This is the same tool used by Jetpack Boost to measure your site, but by running it directly on your site, you get more insight into why your site has been given a specific score. Additionally, Google provides recommendations for how to address the issues it encounters.
Depending on the site’s goal, some recommendations may suit certain situations better. As you work through the recommendations, you can test periodically to see if the site speed improves.
Additionally, as you update your site and add plugins and content, you may find that your site speed changes. Over time, strategies that worked in the past may not have the same effect they once did. We recommend testing your site’s speed regularly and making adjustments as needed.
Optimize CSS loading
Your website’s appearance is controlled by CSS, which tells the web browser how to display your site’s content. Because of the amount of content on modern websites, CSS files tend to be quite large. Additionally, plugins may add their own CSS. This means that a large amount of information has to be parsed before your content is displayed.
This can be sped up by optimizing your CSS loading so that the code needed to display the immediately visible content is given to the browser first. This helps speed up the initial page load. This is referred to as Critical CSS. While this is difficult to do manually, Jetpack Boost does this for you.
You can also do this automatically with a a paid Jetpack Boost plan.
Enable Jetpack Site Accelerator
Lazy Load Images
Since Jetpack 12.8, Lazy Loading has been deprecated.
Images can be a major source of slow site speeds. Large and unoptimized images are a frequent cause of this.
In addition to techniques mentioned elsewhere in this guide (using a CDN), you might consider optimizing images before adding them to your site. For starters, it helps to choose the proper image format for your situation. For example, a PNG is good if you need transparency, but if you are uploading a photo, it isn’t a good choice. Google has an excellent guide for choosing the right image format.
You should also size images appropriately for your content area. For example, if your theme serves images at a maximum width of 1,000 pixels wide, you can resize your images to be 1,000 pixels wide before uploading them. Additionally, you can optimize your images using your image editing program or a tool like TinyPNG or JPEGmini. There are also many third-party plugins for image optimization.
Jetpack Boost includes an Image Performance Guide that can help identify images that may need additional optimization.
Add a caching plugin
Adding a caching plugin to your WordPress site can help increase your site speed. Typically, when a page is accessed on a WordPress site, the requested page is compiled on the server when someone visits it. This requires multiple calls to your site’s database. This is generally fine, but if many requests are being made simultaneously, it may slow down your site.
A caching plugin helps, as it will save a page once requested. The next time that page is requested, the plugin WordPress will use the previously compiled page rather than making a new request. This reduces the load on your server by eliminating database requests.
Note: If your site is hosted on WordPress.com, caching is already built-in, and you don’t need a separate plugin.
Unused third-party scripts can also increase your site’s load time. It is worth checking to see if there are unused scripts that can be removed. If you use Google Tag Manager, you should ensure you need all the scripts added to your site.
Remove unused plugins
Consider a theme change
Your site’s theme may be contributing to slow load times. The quality of WordPress themes varies widely, and some are more performant than others. It can be worth testing your page speed with different themes. You might find that your theme is the bottleneck, so changing the theme would be an excellent next step.
Add a content delivery network (CDN)
A Content Delivery Network (CDN) can help increase your site’s speed by caching requests and serving pages from data centers close to your visitors. The shorter distance data has to travel, the faster the page load time. A popular solution with a generous free plan is Cloudflare. You can read about how to configure it with Jetpack here. Cloudflare also helps to block malicious requests, which can further reduce server load.
If your site hosts video content, you might want to consider loading this content from a cloud-based server. Jetpack VideoPress can automatically load optimized videos from data centers close to your site’s visitors, enhancing your site’s speed.
Offload resource-intensive tasks to cloud servers
At the core of any WordPress installation is a database. Each time a page loads, WordPress queries the database and then displays the page. All of your site’s content is in this database, and depending on the plugins and functionality used on your site, large numbers of queries can slow down your site. Some tasks in WordPress, such as search and plugins that generate related content, are particularly intensive. Jetpack’s Search and Related Posts allow you to offload this work to WordPress.com’s servers.
Reduce server response time
The actual performance of your web server can also affect site speed. If this is the case, you may see an indicator in Google PageSpeed identifying an issue with the Time to First Byte (TTFB) on your web server. If Google PageSpeed indicates that your server is slow, you will want to reach out to your hosting provider. They may be able to offer additional advice or upgrade your account.
If they cannot assist, you may wish to move to a different and more performant host, such as WordPress.com. Business plans and above allow you to install plugins.