Lessons
-
Introduction
-
SEO
- Snippet's clickability in search engines
-
Indexing
-
Headings H1-H6
Images have the "alt" attribute.
The Title attribute of links
Content robots.txt
Duplicate "title"
Duplicate "description"
Human-understandable name of the picture
Rules for formatting text on a page
Micro-markup format requirements and recommendations
Validation microdata Google
Human-friendly link format
Errors in Robots.txt
The content of the site map
The site map file
Link formatting requirements
Hreflang tag
"canonical" tag
Spelling of interactive interface elements
-
Speed
-
Reduce the number of network requests
-
An overabundance of small pictures
Grouping CSS files
Grouping JavaScript files
An overabundance of font files
Redirects when uploading files
Availability of end-to-end CSS, JS files
Uploading duplicate files
Using JavaScript facades
Redirecting JavaScript code
Redirect from/to www version
Using sprite technology
The video player is connected correctly
-
General assessment
-
Page load time
Total page load time.
Display time of the first graphic
- Configure the server
- Speed up the display of the first content
-
Reduce the size of graphic files
-
Minification of the embedded JavaScript code of the page
Minification of the embedded CSS code of the page
Minification of images without loss of quality
The total size of all images on the page
Font Optimization
An overabundance of monochrome icons
The presence of a monochrome font
Data optimization:Image URLs
Animated image format MP4, WEBM, SVG instead of GIF and WEBP
Cropping monophonic fields in images
Using the WebP format in images
Too high-quality images without using compression
Suitable video bitrate
Excessively large images
- Server performance
- Fix the locks
- Reduce the amount of code
-
Reduce the number of network requests
- Mobile adaptation
-
Software errors
- Code
- Mail operation
- Availability
- Server Settings
-
Convenience
- Text readability
- Interface
- Visual defects
- Interaction with other programs
- Image Favicon
-
Vulnerabilities
- Code
-
Server Settings
-
Uploading all page files via HTTPS
Strict-https header for increased security
Private access to service files
Encrypted IPv6 connection
Enabled error display in the north
SSL certificate validity
HTTPS Availability
Redirects to protected
Vulnerabilities of a secure SSL connection
HTTP headers for increased security
- Third-party services
Page load time
The page files are loaded in the following order:
- Download HTML code.
- Loading the resources specified in the code. These are images, CSS, JavaScript code, and other files.
- The second stage of resource loading. For example, if the CSS code specifies an image as the background, it will load at this stage. JavaScript code is executed in synchronous, single-threaded mode. He can download other files, but this is considered bad form, as it leads to problems of multithreaded programming.
- The onpageready event is triggered. At this point, the browser stops showing the icon that the page is loading. This is considered a page load. When this event is triggered, the browser ensures that the HTML code of the page and all files of the first two stages of loading are fully loaded, and the JavaScript code is executed.
- Loading deferred resources. The onpageready event can have many handlers. Some of them run business logic like generating interactive functions. Some handlers can send data and upload files. But if your site is not some kind of complex online software product, then all business logic is processed in a split second, and network requests are made asynchronously. Therefore, it is considered that the page is ready to work and interactive at this moment.
The main way to speed up the site is to transfer everything you can from the first three stages of loading to the last:
- Upload captcha code, maps, online consultant and other third-party services not by placing the
<script>tag in the HTML code of the page, but by adding an onpageready event handler. - It is also better to load large chunks of content delayed. For example, the product profile may contain recommendations for similar products. Since the user scrolls through the page and sees the recommendations in 10 seconds at the earliest, it makes sense to load this data with a separate request. You can also do this in the onpageready event handler code.
- Media files, such as video and audio images, are best downloaded on demand. Pictures when the user scrolls the screen and is 1-2 screens away from them. Video and audio when the user presses the play button.
If the page takes 30 seconds or more to load, it means that there are files blocking the final download. One or more files cannot be downloaded and the browser waits 30 seconds before it refuses to download them and puts the page status in the “ready” state.