Lessons

Page HTML code size

Opening any link in the browser, the first thing the user gets is the HTML code of the page. Its large volume is rarely justified. Large pages not only take a long time to load, but also require a lot of computing resources to display. This speeds up the energy consumption of mobile device users.

Use delayed loading. For example, in the product profile in an online store, product recommendations can be uploaded later. The user will see them in 10 seconds at the earliest when they scroll through the page.

You can also use an HTML code minifier. It will remove extra characters like extra spaces, line breaks, comments, etc. But their work can take a long time, so use them only if the code you are optimizing is cached.

Try not to exceed 120 KB of the HTML code of the page.

Check your website
It's free and will take from 11 to 45 seconds

We use cookies. By continuing to use the site, you agree to the processing of personal data in accordance with privacy policy. I agree