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
- Code
- Availability
-
Server
-
HTTP Headers
Erroneous extension of images
Corrupted files
Correct Mime Type of the file
-
Convenience
- Social networks
- Web Application Manifest
- Favicons
- Basic
- Text readability
-
Security
- Encrypted connection
- Exploits
- Vulnerabilities
Correct Mime Type of the file
Each file on the server has its own mime type. Even the web page itself is of the text/html type. Each image format, CSS, JavaScript, XML files - any file has its own mime type.
By default, web servers specify the mime type based on the file extension. For .png this is image/png, for pdf - application/pdf, etc. But sometimes, due to manual incorrect settings or specific usage scenarios, the mime type value may be incorrect.
Errors in mime type rarely lead to serious problems, but if they do cause a problem, then it is very specific and difficult to reproduce. Programmers will spend a lot of time before they realize that the problem is an incorrect MimeType. Therefore, configure these values on your server.
Any comments or additions? Send us an email admin@site-alarm.com .
Check your website