Page 1 of 1

Reducing the number of http requests

Posted: Sun Feb 02, 2025 7:16 am
by subornaakter20
In fact, the fewer http requests (calls) the browser makes to the server, the higher the site loading speed will be. Therefore, a logical move would be to reduce the number of files required by the browser to work. For example, combine scripts (if you have three separate ones) for the slider, pop-up hints and modal windows into one file. And then minify them, as described in step 4.

It is best to set up automatic file merging using your own plugins. Most CMS have them: for example, Autoptimize for WordPress. It is inconvenient to perform this procedure manually: it will be problematic to make changes to the scripts later, if necessary.

Steps 3 and 6 lead to a reduction in the marketing list of rv owners number of http requests, i.e. setting up caching and removing unnecessary scripts, respectively.


Read also!

"Moving a website to another CMS, hosting or domain: how to do it right"
Read more
Step 9. Optimizing fonts

The ideal option is one font on the entire site. Firstly, it looks good. And secondly, fewer files will need to be downloaded to display all the fonts.

Avoid outdated fonts. This will reduce the number of files used, which means the site will load faster. Previously, the browser needed eot, ttf, woff, svg formats to display fonts correctly, but now only woff and woff2 are enough.

Download popular fonts from Google Fonts. There, font files are presented immediately in an optimized form, plus this will somewhat relieve your own server.

Download a useful document on the topic:

Checklist: How to Achieve Your Goals in Negotiations with Clients
Step 10. Minify HTML code

Minimizing the HTML code of the page itself is also available for settings, you just need to find a plugin suitable for your CMS. For example, for Joomla it is Html Minifier. The ability to reduce HTML code is important, in particular, for long text pages with product lists, blog articles, etc.

Step 11. Optimizing server performance

If we are talking about a dedicated server and the administrator has access to manage the settings, then try to perform a small upgrade: change the processor, increase the RAM, update the current modules and remove those that you do not use.

If we are talking about virtual hosting, that is, server settings are not available to you, try using more expensive tariffs. Often, the technical characteristics of the server, including the site loading speed, are higher there.

Step 12. Optimizing scripts and databases

Loading a site requested by a user consists of a number of stages, at one of which the server generates the final HTML code, which is then provided to the browser. The generation is performed by the site engine, i.e. the CMS. And if it is poorly composed, the page is generated slowly, many unnecessary requests are made to databases and files, outdated (not fast) algorithms are used, etc. All this significantly reduces the site loading speed.

Therefore, try to choose popular, fast-acting, well-proven engines like Bitrix, OpenCart, WordPress, MODx. Keep in mind that such systems are constantly undergoing all sorts of improvements (including in terms of speed). This means that the CMS on your site also needs to be updated regularly.

Take all possible measures to ensure that your site loads quickly. Remember that a potential client will turn to a competitor's platform if it opens faster than yours.