One of the most popular blogging platforms today is Wordpress. Many people who are journaling with this engine experience slower performance and longer page load times over time. Below are some tips that you can use to speed up your blog 2-3x.
It is necessary
- - FTP client (preferably FileZilla);
- - Text editor with HTML syntax highlighting;
Use the service https://webwait.com/ to find out the current download speed. To do this, in the website field, enter the address of your blog and make sure that the value 5 is in both lower fields.
First of all, what needs to be done is to check the parameters of your hosting: PHP version, number of databases, amount of disk space. Many users have been using one tariff for a long time (usually one of the cheapest) and forget that it is non-rubber. Therefore, if you notice that your hosting has ceased to cope with the load, you should think about switching to a more powerful tariff.
Take a close look at the list of installed plugins. As a rule, over time, the number of plugins grows, and among them there are unnecessary ones, installed accidentally or simply unused. Often it is a plugin that is responsible for a slow website loading.
You can note that when writing (editing) a blog article, Wordpress makes automatic saves (revisions). They add extra load to your blog. Disable them. To do this, use an ftp client to find the config.php file and open it with a text editor. It is necessary to write the lines in it:
define ('WP_POST_REVISIONS', false);
define ('EMPTY_TRASH_DAYS', 0);
Many Wordpress templates use bulky style sheets that take a long time to load. You need to optimize them. Make a backup first. Then go to www.styleneat.com, upload your style sheet (style.css) and click “Organize CSS”. The old style sheet must be replaced with the new one.
It is necessary to transfer the scripts from the header (header.php) to the footer of the site (footer.php). Find the sections of code between the tags in the first file and cut them out into the second file. This will speed up page loading a little.
Install the following plugins: Hyber Cache, Optimize BD, DB Cache Reloaded. They will help to significantly reduce your blog load time.
Take steps to protect your blog from spam attacks. Spambots place a huge load on the server, which will hit the speed of the site a lot.
If you're using Adobe Photoshop, save your blog images using the Save For Web feature. This will reduce the size of the loaded images, which will reduce the additional load.
Go back to https://webwait.com/ and compare the blog loading speed before and after performing the optimization steps. It is often possible to achieve 2-3 times acceleration.