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
Redirecting JavaScript code
Redirection is a situation where a page itself initiates a transition to another page, similar to a user clicking on a link with a mouse.
They are used, for example, to change the connection from HTTP to secure HTTPS. Or from a domain with the prefix “www” to a page without one.
It is better to do redirects through the headers of the HTTP request Location, rather than JavaScript code, since in the first case it happens much faster. In the second case, the page loads completely, and the user waits all this time.
Any comments or additions? Send us an email admin@site-alarm.com .
Check your website