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
Minification of images without loss of quality
Images in JPEG, PNG, GIF, SVG format have the potential to optimize the size without losing quality. This is due to the fact that graphic editors and cameras do not care about reducing the size of files. They also add background information (metadata) that increases the file size.
Use the following programs to optimize images:
- jpegoptim with the parameters
jpegoptim --strip-all --all-progressive [file path]for JPEG. - [pngquant](https://pngquant.org /) with the parameters
pngquant --force 256 [file path]and [optipng](https://sourceforge.net/projects/optipng /) with the parametersoptipng -i0 -o2 --strip all [file path]for PNG. To achieve maximum results, use both programs in this sequence. - gifsicle with the parameters
gifsicle -b -O5 [file path]for GIF. - svgo for SVG.
Using these programs, you can set up automatic optimization of all images of your site once a day.
There are also free online services for image optimization. [Visual service for fine SVG optimization](https://jakearchibald .github.io/svgomg/).
Any comments or additions? Send us an email admin@site-alarm.com .
Check your website