It’s no secret that fast loading site allows you to keep visitors tuned in. Agree that no one will browse the site, where the page loads have to be expected, the visitor is most likely to click on a couple of links an leave. Imagine yourself in his place.
This is confirmed by the results of Google research – visitors prefer fast sites.
Choose the right hosting
If hosting does not provide a normal speed, then no matter how you optimize your site, there will not be a result. Quite a frequent question on the web – how many visits will the hosting take? If the site is just static pages, then even a large number of visitors will not create a big load. But the situation is different when you have let’s say a forum website.
The visitor is authorized on a site – there is a reference to the database. The user enters the forum – unread messages, topics are selected. Personal messages are uploaded, and these are all calls to the database. And if the base is also large?
Gzip for websites was first applied in the distant 1992 and still has not lost relevance, if your resource is not overloaded with images, then the page compression can reach up to 75%, which, of course, speeds up the loading of pages.
Gzip works simply, the amount of traffic is compressed, which means that it is transmitted faster. Even if you have a gigabit channel on the Internet, this does not mean that there are no nodes limiting the data transfer rate between you and the site.
Statistical sites load faster than dynamic ones, and all because static pages are stored on the server and immediately issued to the visitor, and the dynamic page is formed by the site after accessing the database, which takes time. Accordingly, the more visitors, the more appeals. When caching is enabled when accessing the page, the copy is saved to the file and issued at the next access, which not only reduces the load time, but also reduces the load on the server.
Combine CSS and JS
Also, the plug-in “glues” several CSS files into one, which is incredibly pleasing to the browser on the visitor’s side.
All, probably, met sites, where a page does not have only one image or ten images but dozens of images everywhere. Such pages are loaded for a long time, besides sometimes “suspending” the browser, spending the most part of memory. At the time of peak loads, the browser can use up to two gigabytes of memory. And if a visitor on the computer runs several “heavy” applications in parallel?
Such pages must either be divided into several, or, if absolutely necessary, to make their galleries with easy previews.
Now the format of PNG images is widely used. Pros – high image quality and transparent background, which allows you to dynamically overlay it on other images. Cons – large size. The image can be reduced, as a rule, several times, using either a special plugin for photoshop, or an online service https://tinypng.com/.
At times, adding external scripts, such as advertising or “decorations”, can give an unexpected effect.
Do not litter the base
Perhaps not everyone knows that every time you edit a material, WordPress saves your changes as a correction, eventually the size of the database starts to grow, which again affects the download speed. Here you can advise the plugin wp-optimize, which not only cleans, but optimizes the database.
Often the question arises, how to assess the speed of the site load? Subjective evaluation or evaluation “by eye” is perhaps the most unreliable assistant.
Now the network has a lot of resources that allow you to estimate the speed of the site’s download, but it is especially worth highlighting two.
The first one is https://developers.google.com/speed/pagespeed/insights/. And he analyzes your site for both mobile devices and PCs and gives recommendations for improving performance.
The second one is http://tools.pingdom.com, in the test results you can see which scripts and how fast they load on your resource.
It will be superfluous to notice that it is not necessary to include all improvements at once, and then to look at the result. It is better to include them one by one and watch, in some cases the result may be directly opposite.
About backup usually remember “when it’s too late.” Akeeba or UpDraft Backup for WordPress allows in two clicks to make a backup copy of the site, and restore the site from a backup. You can also download the archive and deploy it to the PC “for experiments”. Experiments are much safer to run on a local server.
The top of the iceberg
Of course, the material describes the most obvious and simple optimization solutions. Keep in mind that the site needs optimization at the initial stage of development.