Lessons
-
Introduction
-
Search engine optimization
- Broken links
- Site map
- Micro-markup
- Robots.txt
- References
- Text
- Duplicates
- Basic
- Pictures
-
Speed
-
Minification
-
Minification of CSS to reduce its volume
Minification of JavaScript files
Minification of inline CSS code
Minification of images without loss of quality
Minification of JavaScript files to reduce its volume
Unused CSS code
Data optimization:Image URLs
Animated image format MP4 and WEBM instead of GIF and WEBP
Unused JavaScript code
Using the WebP format in images
Too high-quality images without using compression
Suitable video bitrate
-
Reducing requests
-
An overabundance of small pictures
Grouping CSS files
Grouping JavaScript files
An overabundance of font files
Availability of end-to-end CSS, JS files
The presence of a monochrome font
Uploading duplicate files
Using JavaScript facades
Redirecting JavaScript code
Adding lazy loading
Redirect from/to www version
- Fonts
-
Loading time
-
Acceptable size of the HTML code of the page
HTML code generation time
The total volume of all images on the page
Total loading time
Total page load time.
Display time of the first graphic
Optimal time to download files from the server
Time to download files from the server under load
Blocking files
- Server Settings
- Pictures
-
The first content
-
The sequence of connecting JavaScript files
Font display mode
Setting up a pre-connection
Removing lazy loading
Long JavaScript code execution time
File upload delayed or on demand
The server is located in the same country where the users of the site live
Requests to another country that cause page loading to be blocked
-
Minification
- Mobility
-
Bugs
-
Code
-
JavaScript error messages in the browser console
HTML Validation
Validation of CSS code
The video player is connected correctly
- Availability
- Server
-
Code
-
Convenience
- Social networks
- Web Application Manifest
- Favicons
- Basic
- Text readability
-
Security
- Encrypted connection
- Exploits
- Vulnerabilities
The video player is connected correctly
The video player on the page is placed with the following code:
<video poster="/preview-image.png" preload="none">
<source src="./video-file.mp4" type="video/mp4">
<source src="./video-file.webm" type="video/webm">
</video>
Here are some simple guidelines that will help improve the user experience of your customers:
- Specify the
preload="none"attribute. This will prevent the video file from being preloaded. Without it, the page will load the first few seconds of the video, which will weigh like the rest of the page along with the pictures. This slows down the page loading a lot. - Specify the poster in the attribute `preload=”none”’. A poster is a preview image that is displayed by default until the user starts playing the video.
- Specify the video in 2 formats: WebM and MP4. The first format is the most modern and weighs the least. But it is not always supported by operating systems. Users will save this video to their computer and will not be able to play it.
- For each
source, specify thetypeattribute. - The aspect ratio of the poster must match the aspect ratio of the video file. If your video is FullHD with an aspect ratio of 16:9, then the poster should have the same aspect ratio.
Also, our check checks the presence of video files and a poster, as well as the fact that they can be opened and played.
Any comments or additions? Send us an email admin@site-alarm.com .
Check your website