Divi: the easiest WordPress theme to use
Divi: The best WordPress theme of all time!
With over 901.000 downloads, Divi is the most popular WordPress theme in the world. It is complete, easy to use and comes with more than 62 free templates. [Recommended]
Almost 50% of your visitors will abandon your website after 10 seconds or less. Yes, this is the reality we are facing. The good news, however, is that there are a lot of tips that increase your site's performance for better stats.
At this point, I must tell you that since the sites are different, it's almost impossible to solve every little tiny performance problem by compiling a complete list of resources! It's much easier to put together a fast, hard and fast set of rules to speed up the pages on your site. The only problem is that it means leaving many valuable tips aside.
That's why in this tutorial I will show you how to solve performance issues (most famous) Of your pages.
If you are an experienced web developer, you can see some familiar tips, but there are many that will be reminders. So without further ado, let's start!
How to troubleshoot a slow WordPress site
When trying to gain insight into your site's speed and performance, one of the best things you can do is troubleshoot first. In this case, it means that there will be a collection of data from different parts of your site where you will identify performance issues.
Once you've collected data, you can analyze it to see where your site's problems are and consider how to fix them.
It's a good idea to start by determining the average speed of your pages. Once you have a good idea of your site's load time, you can look at your resources and site usage statistics to get a more in-depth picture of your WordPress site's performance.
Easily create your website with Elementor
Elementor allows you to easily create any website design with a professional look. Stop paying expensive for what you can do yourself. [Free]
Here is a list of the best points of interest to collect data for performance (speed) issues:
- Ping your site from different places in the world - You can use services such as Pingdom to check the loading times of different places.
- Find the "Insights PageSpeed" score - Use the Google Insights PageSpeed, which is a tool to get a score on the speed of your site and ideas on improvements that could be made.
- Validate your code - You can validate the code used on your site with the W3C Markup Validation Service.
- Manually check the plugin and theme code - Take a look at the code used in the plugins and themes you have installed to make sure they are high end.
- List your site's images - Go to your media library in your dashboard and take note of how many images and files you have, along with their size.
- List all the plugins you have installed - Take note of the number of plugins you have installed and activated.
- Observe unnatural traffic - Take a look at your usage and traffic statistics to see if you have huge traffic spikes due to hackers.
- Check hosting resources - Take a look at the amount of storage space, bandwidth and data transfer you have on your hosting plan and how much you use on a regular basis.
- Test your server - Perform a load test on your server to see how much traffic your server can actually handle you can do with NewRelic.
Once you have gathered information from all these areas, take notes on your resources and make a comparison of how much you have used compared to available resources. Also, make an extra note of all the issues reported by " Google PageSpeedInsights ».
Keep exploring the different performance issues your blog is facing. This way, you can start improving your site.
For example, if you've noticed that you're using a lot of your storage space and have a ton of images or plugins installed, make a note on it, because there are solutions for that.
Other sources of performance loss
1 - Using old versions of PHP
As PHP is updated, the scripts and plugins you use on your site may become obsolete over time. Many new versions of PHP include performance improvements that could speed up your site as well.
Are you looking for the best WordPress themes and plugins?
Download the best plugins and WordPress themes on Envato and easily create your website. Already more than 49.720.000 downloads. [EXCLUSIVE]
solution: Upgrade the version of PHP you are using to a version that is compatible with your site. For more details, see our tutorial on " How to update or modify PHP for WordPress ».
2 - Too many heavy images (uncompressed)
If you find that you have a ton of images on your site and they are using up a lot of your storage space, there are a few methods you can use to reduce their weight and improve your site speed at the same time.
solution: Optimize and compress your images. You can do it automatically with the Pro " WP Meuch plugin ».
3 - Too few resources and hosting problems
If you've reached 40% of any of your resources, it's a good time to start thinking about a plan of action to deal with your site's growth in the future. This is especially true if you have used these resources in a short period of time.
If you use more than 40% (And in particular of more than 60%) of one of your resources, it is recommended that you try to take action as soon as possible to try to reduce this figure.
Solution 1 : Do you quickly reach the resource limit? Try the other tips here to reduce the resources you use.
Solution 2 : If these tips don't work, it may be time to update your hosting plan.
4 - Scripts that are not minimized or cached
WordPress sites inherently have dynamic content included, and there's a good chance you've added a lot more plugins and themes. Since your site is not static, with only a colored background and text, it's important to do what you can to optimize your content so that it loads faster.
Easily create your Online Store
Download free WooCommerce, the best e-commerce plugins to sell your physical and digital products on WordPress. [Recommended]
Solution 1 : Implement object caching. Take a look at " Persistent Caching Object »(English) And " Do-It-Yourself Caching Methods "(English) for more details.
Solution 2 : Also, go ahead and start server side caching including pages and database caching. You can consult The ultimate guide on W3 Total Cache.
This is certainly not everything, but for a start, it will be enough. If you have any questions, do not hesitate to ask them.