Is your WordPress site slow? Don’t worry we are here with various ways that will help you to speed up WordPress website. To Speed up WordPress is not difficult. Before proceeding further, you might want to know about
- Why Speed matters
- how can you check your site’s speed
- what’s the reason behind the slowing down of your WordPress site.
Let’s dig down into these! Let’s see how to Speed up WordPress!
- 1 Why Speed Matters?
- 2 How to check the speed of your WordPress Site?
- 3 Choosing a Good WordPress Hosting service
- 4 Installing a WordPress Caching Plugin
- 5 Optimize Images
- 6 Use Faster Plugins
- 7 Optimize your WordPress database
- 8 Limit the number of Post Revisions
- 9 Use Latest PHP Version
- 10 Replace PHP with static HTML
- 11 Using a Content Delivery Network
- 12 Parting Words
Why Speed Matters?
A slow website means users will potentially leave before you even had a chance. So, in a short time, you need to convince the user to stay on your website. Moreover, slower websites are penalized by Google, Bing and other search engines. This pushes the slower websites down in the search results. Hence resulting in less traffic on slower websites.
How to check the speed of your WordPress Site?
Most of the WordPress users have this thinking that their website is running fine. It doesn’t feel slow on their computer but that’s a very big mistake. It is because we regularly visit our own website and caches are automatically prefetched by the browsers like Chrome which results in instant loading of your site. But, Don’t think it’s the same in the case of a normal user, they might have a totally opposite experience.
The IsItWP’s WordPress speed test is a free online tool which can help you to check the speed of your website and is very easy to use.
Here, you need to enter your site’s URL and remember a good page load time is under 2 seconds. Hence, this way you can check the speed of your website.
By this time, you must be wondering about what’s the reason behind this slow down of your website and How should I Speed Up WordPress!
The main causes of slowing down of your website are as follows:
- Web Hosting – If your web hosting server is not properly configured it causes a slow down to your website speed.
- Page Size – If your images aren’t optimized then the site can also take time to load.
- WordPress Configuration – Overloading of the server can be caused by not serving cache pages which can slow down your site or worse, can Crash it completely.
- External scripts – The font loaders, ads, etc can also play a vital part in your website performance.
- Bad Plugins – Poorly coded plugins can cause a significant slow down of your website.
Now we will talk about 9 ways by which you can speed up your WordPress site. Let’s get started!
Choosing a Good WordPress Hosting service
It is very important to choose a good host as WordPress hosting service plays a crucial role in website performance. A shared host might provide unlimited page views but it slow site speed and regular downtime during high traffic periods. While a managed WordPress hosting service like Siteground, Bluehost, etc gives you the most optimized server configurations to run WordPress, In addition to that, automatic backups, updates, and other advanced security configurations are offered by the managed WordPress hosting service to secure your website.
So, we recommend you to use WP Engine managed WordPress hosting.
Using this can make your sites run amazingly fast, never have downtime and also, the back-end is very easy to use. Moreover, their customer support is top class, when it comes to hosting which is a must.
Installing a WordPress Caching Plugin
WordPress Caching plugins are very useful, as they drastically improve page loads time, and are very easy to use. As the WordPress pages are “dynamic” and to build these pages is a really long process, the WordPress runs a process to find the required information and put it all together ending up displaying it to the user. It results in slowing down of your website when multiple users open it at once. But using cache plugins can eliminate this process as copies are created after the first load and then it served that cached version to every user. This process is illustrated in the diagram below:
Whenever a user clicks your WordPress site the information is retrieved by your MySQL database and PHP files and this information is put together as HTML content which is then served to the user although the process is long, you can skip most of it when you use the cache plugins.
There are various cache plugins you can use like W3 Total Cache, WP Rocket (premium), WP Super Cache, etc. and Many WordPress hosting companies offer caching solutions like Bluehost and SiteGround.
If you had uploaded the Image having a larger resolution then there’s a possibility that your site gets slower. Moreover, the larger the Image more it will hit your site’s memory limit. There’s a free plugin WP-SmushIt which will compress all of your images automatically, as you are uploading them.
For more info click here, we have shown how to optimize the image size
Use Faster Plugins
WordPress plugins which are poorly coded can often load too much bloat whether your site needs it or not and this results in slow down of your website. Use faster plugins to increase WordPress Speed
And to help find out the best plugins we especially pay attention to ease of use, user experience, and performance. Below are the most popular and faster WordPress plugin categories.
- WPForms – it is Beginner-friendly and one of the fastest contact form plugins for WordPress.
- Soliloquy – Soliloquy is the best WordPress plugin if we want to add sliders it comes with better performance and features.
- Envira Gallery – It is the fastest Photo gallery plugins which don’t slow down your WordPress site.
- Shared Counts – Shared Counts is considered to be one of the best and fastest Social media plugins for WordPress.
Apart from these, there are various plugins you must run your own tests and finds out which one is suitable for you.
Optimize your WordPress database
You can use various plugins like WP-Optimize, WP-DB Manager, WP-Sweep plugin etc you can use to optimize your database to get rid of all the unnecessary information like trashed posts, revisions, unused tags, etc. These plugins result in optimizing your database to reduce the site’s overhead and also can schedule dates for database optimization.
Limit the number of Post Revisions
The post revisions take up space in your WordPress database and you must limit the revisions in order to make your website runs smoothly. You can control the amount o revisions for each article.
define( ‘WP_POST_REVISIONS’, 5);
You need to add the above code to your wp-config.php file and hence, you have limited the revisions. The above code will limit your WordPress to only save your last 5 revisions of each post or page and will automatically discard the previous revisions.
Use Latest PHP Version
WordPress is developed using PHP and has its own updates.WordPress recommends using PHP versions 5.6 or later and the newest PHP 7.4.8 is two times faster than its predecessors. To know about which PHP version your site is using you can again installing and activating the Version Info plugin and can see it on the footer area of your WordPress admin dashboard.
Or another way to do this is by going to cPanel > PHP Config > Programming, Software/Services or Advanced sections.
Note: If you are a beginner then site backup is recommended as upgrading might break your site.
Lastly, Go to PHP config > select a different PHP version > save changes.
Replace PHP with static HTML
When necessary, you should replace PHP with static HTML as it can drastically cut down the load time of your page.
Using a Content Delivery Network
As discusses earlier, users in different geographical regions might experience different loading times on your site as the location of your web hosting servers which can adversely impact your site speed. Although using a Content Delivery Network (CDN) you can speed up the loading times for all of your visitors and you will not lose any user.
You can use StackPath CDN or MaxCDN.
We hope this article will give you some insights regarding speeding up WordPress. As we have mentioned 9 ways to speed up WordPress but we recommend you to try out these ways and check the speed before and after implementing these techniques as you will be electrified by these load time changes. If you have any queries, don’t hesitate to contact us.