It is better to avoid such things

Collaborate on cutting-edge hong kong data technologies and solutions.
Post Reply
relemedf5w023
Posts: 409
Joined: Sun Dec 22, 2024 7:16 am

It is better to avoid such things

Post by relemedf5w023 »

Please note, it is better to disable caching for the site administrator and editors, so you do not have to reset it every time you make some changes.

Also, pay attention to the cache lifetime. The less often the page is updated, the longer it can be stored. If the site is visited and updated every minute, it is better to set the minimum cache storage time.

File minification
Minifying files allows you to reduce the size of HTML, CSS and JavaScript files.

There are many ways to minify files, such as online services or plugins for CMS systems. If you are looking for a service, there is a good comparison table on Habr that you can study.

Important Don't forget to make a backup of your site and database before this procedure!

Loading order
You can specify the order in which elements are loaded on your HTML page. For example, you can make images load first, then videos, or in any order you want.

Make sure that only the most important content on your site loads first, and then everything else. This will reduce the bounce rate of users.

Remove the excess
If the site is old and you have never bothered about cleaning the database, plug-in scripts and installed plugins, then most likely it is time for you to think about it.

The fact is that third-party plugins make additional requests, add unnecessary functionality, and even load their scripts every time a user visits the site.

If you don't need this plugin or you can do this functionality "by hand", then it's better to delete it.

It is also worth analyzing all the connected scripts on the site, sometimes it happens that 10 statistics counters are connected to the site, but there is no point in this.

CDN
CDN or Content Delivery (Destination) Network is a gambling data korea phone number delivery network. The idea is as follows: The user goes to the site, and images and various scripts are loaded from the server closest to him. In theory, this allows to minimize the content loading time by reducing the distance, but this is only in theory.

The thing is that the servers of the most popular CDN service in Russia are located... only in Moscow. And if you are already hosted in Moscow without a CDN, then there is no point in connecting it. However, if you work for the whole world and you receive traffic from different countries, a CDN can speed up the loading time of your site quite well.

HTTP requests
We have already written more than once above that this or that action reduces or increases the number of requests. Let's duplicate a screenshot from GTMetrix, where you can see the number of requests from the site:

Check result
Check result
Requests 37 — these are 37 HTTP requests from the site. 37 is not bad, often there are sites with 100+ requests. Each call of a script, form, widget, image, video — these are all HTTP requests and each of them eats up the resource. The fewer requests you have — the better.

Try to minimize this value with CSS sprites, using Google tag Manager, optimizing the code and removing unnecessary functionality and plugins. The fewer requests, the faster the site loads, there is a direct connection.

Fonts
In general, fonts can also be classified as HTTP request optimization. If you use a font that is not in the standard Windows set, then you need to download it from somewhere, that is, make a request. An alternative option is a downloadable font, but it is even worse, because the time it takes to load the site will also be added to the time it takes to download the font. You should never do this.
Post Reply