Home / Technical site audit / Large HTML-pages

Large HTML-pages

Large HTML pages (pages more than 3 MB) rarely get into search results, take a long time to load, and, as a rule, contain unnecessary content. Google favors fast websites. Having large HTML pages that slow down your loading speed can negatively impact your search engine rankings.

Labrika finds these pages and saves them in a separate report but does not analyze them further since the practical application of such large pages is unknown.

The primary reasons for the appearance of large HTML pages:

  1. SVG images are embedded in the page code.
  2. There is built-in information intended for debugging the site.
  3. Inserted pieces of malicious data make it challenging to download. It can be the remnants of deleted viruses or data inserted after the site has been hacked.
  4. JavaScript is embedded in the page's HTML code but not in a separate file.
  5. After inserting elements from another document into the page, redundant CCS styles were added to the HTML code for each element, taking up a lot of space. For example, inserting text from a Word document without cleaning tags.
  6. The owner of the resource or hackers who hacked the site could have embedded a code for mining cryptocurrencies into the website.

How do you find large HTML pages on your site?

You can find the data in the large HTML pages report in the Technical Audit section. This report will show the entire list of pages that occupy more than 3 MB if there are any on your site.

What to do with such pages?

To identify problem areas in more detail, you can use Google's PageSpeed ​​Insights tool. Use the report to evaluate page speed, which will give you recommendations on how to reduce page size and increase loading speed. Typically, recommendations display information about which page element needs to be compressed or optimized.

Ways to reduce page weight:

  1. Files embedded with HTML code: CSS, JavaScript, and SVG images should be placed in separate files.
  2. Reduce HTML code. Remove all unnecessary elements from the page and observe the validity and formatting of the code. Perhaps it is overloaded with unnecessary parameters.
  3. Compress CSS and JavaScript. Reducing the CSS code will have a significant impact on loading speed, but in some cases, it will be necessary to reduce page weight as well. To solve these issues, it is best to contact a qualified programmer.