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
Adding lazy loading
Delayed loading is a great technology. Her task is to speed up the site. This is done by downloading images as they become visible to the user.
The easiest way to enable delayed loading is to add the attribute loading="lazy" to the ‘` tag.
When using images as a background, you need to control the loading stages using JavaScript.
Lazy loading should be disabled for images that are visible on the first screen. So, the page will load visually faster and the user will start exploring the content earlier, even if the download of the remaining files is in progress.
Any comments or additions? Send us an email admin@site-alarm.com .
Check your website