How to Boost WordPress Speed
WordPress is a very popular web development platform. With more than 72 million WordPress sites on the Web (and still counting!), an estimated 35percent of ecommerce websites powered by WooCommerce, the ecommerce plugin for WordPress, WordPress deserve the interests it gets.
With increasing emphasis on site speed coming from Google, understanding how to speed up your WordPress website is importance if you will maintain and improve the competitiveness of your site on the search engines.
Google has announce the website speed is now a ranking factor. Data have also shown that slow websites loose conversion and does not serve users a good browsing experience. With Google also placing higher weight on user experience, running a slow website tells Google that you do not deserve a top position in its search engine result pages.
In this post, we once again visit the issue of how you can boost the speed of your WordPress website. Beyond the simple tricks of removing unnecessary plug-ins and themes, modest changes to your site can help you improve performance. We will examine all that and do hope you find it helpful in improving your website speed.
How to Get Maximum Speed for your WordPress Website
Every website owner is happy to find his website speed within the range acceptable and considered by Google to be fast. That's usually not very easy to achieve and when you hit that target, you should be commended. No one wants to spend too much time on a website due to poor or slow loading speed. It can be very frustrating and cost return visitors, traffic loss website rank and revenue. But there are ways to enhance website speed and we will be taking a look at each of the recommendations very shortly.
Test Your Speed
The first thing you need to do is to test your website to ascertain its speed. The test could reveal why yor website is slow and aid you in making the necessary changes for improvement.
There are some good speed test tools you will want to rely on.
Pagespeed Insights will test the speed of our website on all devices. According to Google, "PageSpeed Insights analyzes the content of a web page, then generates suggestions to make that page faster". We rely on this tool a lot to chec our website performance on mobile and desktop and we strongly recommend it for you..
Test your website speed with Pagespeed insight
GtMetrix will not only test the speed of your website, it will you why your website is slow and suggest optimization opportunities. Here are some key features of this tool:
GTmetrix's Report Page neatly summarizes your page performance based off key indicators of page load speed.
- Analyzes your page with Google Lighthouse for actionable insights for performance optimizations
- Gives insights into performance milestones like Largest Contentful Paint, Total Blocking Time and Cumulative Layout Shift
- Allos allows you to test your page on a real Android device or Simulated Device option.
- Optimizes your site for mobile users and ensure a fast page load time on all devices
It is easy to test your website speed with Pingdom. Simply enter the URL of your website or any other whose speed you want to test and choos the location you prefer to test from. In seconds, you gt a result for your website and how it compares with other websites that have been tested. Pingdom also has a paid subscription which allows you to monitor uptime and performance for your website.
The WebPageTest tool is also easy to use. Simply type the URL into the space provided and run your test. In a minute,, you get the result as well as some suggestions on how to improve your website speed.
Proven Methods to Reduce WordPress Speed
Remove Unnecessary Plugins
When it comes to improving your WordPress website speed, you must take into account the plugins you run on your website. You need to test every plugin for integrity and necessity. Only plugins that you are using and needed for users to enjoy surfing should be allowed. Unnecessary plugins need not be allowed on your website.
In taking a decision about plugins, you need to consider the following:
- The more functional the plugin, the more it slows you down.
- Small and poorly coded plugins can also slow your site down.
- P3Profiler is a plugin that will give you details about which plugins are slowing your site down.
Further reading: WordPress Performance: How to Find a Slow Plugin?
Optimised Your Database
Optimizing your database should be a regular practice. Your database houses everything about your WordPress site, from spam comments to old plugin tables. Optimizing your database is a relatively easy way to speed up your website, here are a few ways to get started.
- Regularly clean out your spam comments.
- Clean up your plugin leftovers. Even after you delete a plugin, they can leave unnecessary tables in your database.
- Plugins Garbage collector is a plugin that will help you clean up the unwanted tables.
- Each time you make a change, save a draft or publish an update WordPress stores each version.
- This can quickly take up space in your database and slow you down.
- You can configure the amount of post revisions saved, and even disable it.
- To disable, set WP_POST_REVISIONS to false by pasting define( 'WP_POST_REVISIONS', false ); to your wp-config.php file.
- To allow a certain amount of revisions, change it to define( 'WP_POST_REVISIONS', 3 ); replace "3" with the number of revisions you would like to allow.
- You can also use the plugins Simple Revision Control and Revision Control.
- WP-DBManager, WP Cleanup, and Optimize Database after Deleting Revisions are all good options for database optimisation plugins.
Further reading: How to Maintain a Healthy WordPress Website
Use Content Delivery Networks
A CDN hosts a copy of your site in different places around the world so your readers are directed to a server closer to them.
- This cuts the download time that your readers around the world would normally have.
- According to Max CDN, with the help of a CDN a reader in England can have a response time of about 24 milliseconds to a site hosted in New York.
- Without the CDN the response time would be around 350 milliseconds.
- CDNs charge customers based on the amount of bandwidth they use, but it is worth it when your site is significantly faster.
Fix Image Issues
Every photo on your page must be downloaded by your reader each time they open a page. This includes the photos in your website design as well as the ones in your content.
Tips to speed up image issues:
- The more images you have, the longer your loading time, so minimize the number of images in your website design.
- Even the little avatars on your comments make external calls.
- Instead of using Gravatar or the default silhouette, set the avatars to "blank."
- Use CSS when you can
- Style your header and footer with CSS rounded corners instead of a large image.
- Use a slideshow to split your images up on different pages
- Add this code within the content area: <!-nextpage->
- Decrease image size by more than 50% by optimizing your images.
- If your program has it, always save using the "Save for Web & Devices" option.
- Find a balance between image quality and size. The smaller you go, the weaker your quality.
- Reduce image size by saving in the proper format.
- Simple images = 8-bit PNG
- Complex images = JPEG
- Use a plugin like Smush.it that reduces image size by removing unnecessary bytes from the image.
- Lazy load speeds up your site by only loading the images that are visible, as the reader scrolls down the images will load.
- Some lazy load plugins include: Lazy Load, BJ Lazy Load and Lazy Widget Loader.
Further reading: Image Optimization for High Ranking
Caching is a great way to speed up your content delivery and reduce the amount of requests from your server.
- By not using caching you are making multiple requests to your server and prolonging load time for your reader.
- A caching plugin changes dynamic files into static HTML files, speeding up the time it takes for your page to load.
- W3 Total Cache is a popular caching plugin, here is a quick guide to get you started with this plugin:
- Once you install, you will have a Performance tab under Settings.
- To avoid mixing settings enable the "Toggle all caching types."
- From your Performance tab go to Page Cache and check the options.
- General: check all that apply
- Advanced: leave section as is
- Cache Preload: "Automatically prime the page cache" should be checked, fill in the number of seconds for "Update interval" and "pages per interval," which should be no more than 10.
- Your sitemap URL will be: http://www.yourwebsite.com/sitemap.xml
- Purge Policy: Home page, Post page, Blog feed and rss2 (default) should all be checked.
- Next, click on the Performance tab > General Settings and enable the Page Cache.
- Database Cache and Object Cache should both be disabled through General Settings.
- Before using any plugins or making edits yourself, make sure to back-up your database.
- Backup plugins include: BackupBuddy ($75), VaultPress ($15+), BackWPup, WP-DB-Backup, BlogVault ($9+)
- Read our complete guide to WordPress cache plugins.
Further reading: Recommended Caching Plugins for Your WordPress Website
Minimise and Minify Your Code
Your code is an important part of your website, but it can also slow you down. Here are a few ways you can optimise and minimise your code:
- Google recommends using gzip, it can reduce your page size by 70%.
- It replaces common strings with temporary strings in your code.
- Once the browser receives the code it is decompressed so your reader sees your page correctly.
- You can modify your .htaccess file, or use a plugin (W3 Total Cache and WP HTTP Compression are two options).
- If you can't use gzip, try WP-HTML-Compression, it compresses page size by removing comments and whitespace and shortening URLs.
- For better results you can minify your code before gzipping.
- You can also use the plugin W3 Total Cache to minify your files.
- Other options: Minify, WP Minify, and Autoptimize.
Further reading: The Complete Guide to WordPress Speed Optimization
Social Media Sharing
People are more willing to share things online if they see that others are doing the same.
- Showing readers your share options can help you, but it will also substantially slow your site down.
- This slowdown is caused by JavasScript codes from social media sites making calls to external servers.
- To speed up these plugins keep it simple by replacing the buttons with text links or images.
- This will eliminate the calls to external servers.
- If you can't do without the social share buttons, consider using a plugin:
- Floating Social Bar, Share Center Pro or WP MashSocial Widget.
Further reading: Harnessing the Power of Social Media Marketing in Business Growth
- Instead of loading all of the items at once, asynchronous loading waits for one item to load before starting the next one.
Optimise Your Mobile Site
Speed is important for mobile users, most don't have large enough data plans to sit and wait for your page and all its contents to load. You have a couple of options when it comes to your mobile site.
- Responsive design:
- Google suggests this option.
- It works on desktops, laptops, mobile devices and tablets.
- Each page on your site has the same URL.
- For images, the user's browser downloads the full size then scales them down to fit on the mobile device.
- Adaptive design:
- Reduces your loading time on mobile devices.
- Your images and content are displayed with a minimal design that minimizes the size of your page.
- The size of your page can drop from 1.5 MB to less than 100 KB.
- You can choose a WordPress theme that comes with a mobile option, or use a plugin like WPtouch Mobile Plugin, WP Mobile Detector, WordPress Mobile Pack or MobilePress.
Further reading: A Guide to Website Optimization for Mobile Devices
If your website must do well and get top ranking on the search engines, it must serve the intent of users. The search engines were designed for users and not algorithms. It is therefore important that in building content that impress search engines, you be guided by the fact that the search engines themselves are interested in what impresses its users.
Website speed is one key factor that plays a role in user experience. Users are happy with fast websites and so are the search engines. In this post, we have provided a guide on how to achieve a good speed for your WordPress website. Coupled with other resources, you can achieve an excellent speed performance that impresses both your users and the search engines.