Lessons
-
Introduction
-
Search engine optimization
- Broken links
- Site map
- Micro-markup
- Robots.txt
- References
- Text
- Duplicates
- Basic
- Pictures
-
Speed
-
Minification
-
CSS minification
Minification of JavaScript files
Minification of inline CSS code
Minification of images without loss of quality
Minification of JavaScript files
Unused CSS code
Data optimization:Image URLs
Format of animated images
Unused JavaScript code
Using WebP
Image compression is missing
Video bitrate
-
Reducing requests
-
An overabundance of small pictures
Ungrouped CSS files
Ungrouped JavaScript files
An overabundance of fonts
Availability of end-to-end CSS, JS files
The presence of a monochrome font
Uploading duplicate files
Using JS facades
Redirecting JavaScript code
Adding lazy loading
Redirect from/to www version
- Fonts
- Loading time
- Server Settings
- Pictures
- The first content
-
Minification
- Mobility
- Bugs
-
Convenience
- Social networks
- Web Application Manifest
- Favicons
- Basic
- Text readability
-
Security
- Encrypted connection
- Exploits
- Vulnerabilities
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.