Everyone hates slow websites, You can’t afford to waste a second on the internet. Speed matters, particularly when it comes to loading time. In fact, if your WordPress site is sluggish and forces users to wait for even a few seconds, you’re likely to feel the negative effects right away. You can see decreased conversions and poor search rankings.
To help you deliver the best experience online possible (and help improve your SEO efforts), we’ve provided this list of tips to help enhance the performance of your WordPress site. Whether it be page size, slow plugins, or some other culprit, read on for some useful tips to help boost page speed times and improve your site’s overall performance
1. Invest in a Quality Hosting Plan
Many times, the reason for your WordPress running slow can be less or slow resource provisioning or simply because the hosting server is not adequate enough to hold your website.
Picking the right hosting plan is one of the first and most important choices you’ll make for your website. Since your web host is where your site ‘lives’, it will do a lot to determine your site’s speed, performance, and how well it can cope with high traffic.
For example, you can take a look at MyResellerHome— our own WordPress hosting plan. This plan provides faster SSD-based storage and other built-in solutions such as caching plugins and many additional features that are beneficial to your websites: a built-in firewall and a free SSL certificate.
2. Always Keep Your Plugins, Themes, and WordPress Itself Updated
Most people constantly ignore the update notices from all their software(WordPress dashboard). We understand that it’s easy to become numb to these messages, especially when the effects of ‘required updates’ are so often invisible to the average user. However, when it comes to WordPress, you should always make sure to update every aspect of your site as soon as possible.
It’s essential not to ignore updates when they become available, whether they’re core updates for your WordPress installation or new versions of your WordPress theme or plugins. The most important reason for this is security, as new updates will ensure that your site is safe against the latest threats.
You should also make sure your site uses the latest version of PHP. This will speed up your site considerably, and also ensure full compatibility with WordPress.
3. Implement Caching to Reduce the Number of Requests
The basic caching system of your WordPress works by storing your website’s dynamic posts and images as static files. These pre-stored static files are then served to web visitors easily, reducing the load time of your website.
There are several plugins you can use to do this. WP Super Cacheis by far the most popular caching plugin, as it’s both entirely free and very simple to configure.
Images are essential part of every website. It is important to have them optimized. There are few things regarding your images that you should have in mind when developing your WordPress site:
- Use images with the proper size. Do not upload big images and then scale them with HTML. Make sure that your photos and other images are not bigger than the size you’re actually displaying them in.
- If possible, use Sprites for your themes. Using sprites is a CSS technique that uses a single image to show multiple design elements on your pages. This way instead of loading dozens of small images (making HTTP requests each time), your site will open a single one. Sprites, however, must be considered when the theme is designed. So always look for themes that utilize sprites.
5. Minify and Compress Your Website’s Files
6. Configure A CDN
Using a Content Delivery Network (CDN) can help you create a consistent and faster experience for visitors, regardless of their geographic location.
The easiest way to use a CDN with WordPress is to install a plugin. We recommend Cloudflare, which protects and accelerates your site with minimal configuration required.
7. Themes and Plugins Management
it’s equally important to make sure you use the right tools(plugins and themes), to begin with.
There’s a common misconception that having a lot of plugins installed can slow down your site. The truth? It’s not necessarily the number of plugins that matters, but their quality. In addition, plugins focused on security, SEO, and e-commercetend to require more resources, as they add more code and functionality to your site. For this reason, it’s important to research the plugins you’re using, and make sure they don’t drain more resources than they need.
Even WordPress themes can affect your site’s speed. Many themes may sell themselves as ‘optimized’ or ‘fast loading’, without being either.
Choosing well-coded themes and high-quality plugins come down to careful research.
The next step is to ensure that you get rid of any themes and plugins you no longer need.
This a site maintenance task you should perform regularly. Even if a theme or plugin isn’t active on your site, it will still take up space on your server and cause unnecessary strain.
Fortunately, cleaning out your themes and plugins shouldn’t take too long. The first step is to delete all deactivated plugins and themes you no longer need.
8. Clean Up Your Media Library and Post Revisions
It’s not just plugins and themes that can build up over time and clog up your site. As your site grows, your media library will fill up with images, documents, and other files.
You can use a plugin like Media Cleaner to dispose of unused media or you can do so manually. To manually remove unused media, simply go to Media » Library and click the unattached option.
You’ll then see all of the media files that aren’t being used on your site. You can delete those files to free up space.
If you have no reason to save post revisions, don’t do it then. They tend to pile up and make your database bulky. However, you can easily disable them by adding this code to your wp-config.php file:
If you also want to remove old post revisions from your database, you can do this easily by running this simple query.
DELETE a,b,c FROM wp_posts a WHERE a.post_type = ‘revision’ LEFT JOIN wp_term_relationships b ON (a.ID = b.object_id) LEFT JOIN wp_postmeta c ON (a.ID = c.post_id);
9. Enable gZIP Compression
Gzip compression can be enabled through the sensitive .htaccess server file. A plugin like WP-Rocket can also enable gzip compression for you.
## ENABLE GZIP COMPRESSION ##
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
## ENABLE GZIP COMPRESSION ##
10. Optimize Your Databases
It’s a good practice to optimize your WordPress database from time to time.
If you’ve made it this far, you can probably guess that this is possible without any actual knowledge about databases. There’s a plugin for almost anything, after all, and this task is no exception. Even if you’re a complete newbie, you can use the WP-DBManager plugin to manage your databases. This plugin will optimize, repair, and delete unused databases for you.