@@ -10,9 +10,9 @@ we have created a microservice that perfectly copes with this task.
1010
1111Features:
1212 - Resize images for the user's screen size,
13- - Image compressions to reduce traffic,
13+ - Image compression to reduce traffic,
1414 - Converting images to modern formats such as webp and avif,
15- - Works with dynamically content, compression occurs on the fly,
15+ - Works with dynamic content, compression occurs on the fly,
1616 - High compression speed, an average picture is processed in just 200 ms,
1717 - Includes exporter of metrics for Prometheus,
1818 - Supports basic authorization for multiple domains and endpoints,
@@ -50,7 +50,7 @@ docker run -d --restart always -p 3000:3000 mtsrus/image-optimize
5050- ` -e ALLOW_SIZES="100,200,1024-1920" ` - an array of allowed sizes for the resulting images,
5151 default 100-1920. Use specific values to prevent heavy loads on the server.
5252
53- - ` -e ALLOW_SOURCES="https%3A%2F%2Ftb.mts.ru%2F" ` - url array of allowed addresses for image sources, default * (any).
53+ - ` -e ALLOW_SOURCES="https%3A%2F%2Ftb.mts.ru%2F" ` - URL array of allowed addresses for image sources, default * (any).
5454 Use comma as separator. It is recommended to apply encodeURIComponent to url.
5555
5656- ` -e BASIC_AUTHS="https%3A%2F%2Ftb.mts.ru%2F" ` - an array of endpoints with basic authorization parameters, default empty.
0 commit comments