{"id":407345,"date":"2024-06-29T19:30:48","date_gmt":"2024-06-29T19:30:48","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=407345"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2024-06-29T19:30:48","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=407345","title":{"rendered":"<span>\u0421\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0434\u043b\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 thumbnails: imgproxy, thumbor, imaginary, picfit, imageproxy \u0438 weserv\/images<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h3>\u041f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f<\/h3>\n<p>\u0416\u0438\u043b \u0431\u044b\u043b \u043e\u0434\u0438\u043d \u043d\u043e\u0432\u043e\u0441\u0442\u043d\u043e\u0439 \u043f\u0440\u043e\u0435\u043a\u0442. \u0412\u0440\u0435\u043c\u044f \u0448\u043b\u043e, \u043e\u0434\u043d\u0438 \u0444\u0438\u0447\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u043b\u0438\u0441\u044c, \u0432\u0442\u043e\u0440\u044b\u0435 \u0443\u0434\u0430\u043b\u044f\u043b\u0438\u0441\u044c&#8230; \u041e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0432\u0430\u0436\u043d\u0435\u0439\u0448\u0438\u0445 \u0444\u0438\u0448\u0435\u043a \u0431\u044b\u043b\u0430 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u043f\u0440\u0435\u0432\u044c\u044e\u0448\u0435\u043a \u043a \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u043c (thumbnails), \u0430 \u0438\u043c\u0435\u043d\u043d\u043e &#8212; \u0431\u044b\u0441\u0442\u0440\u0430\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f (<strong>\u0434\u043e 5 \u043c\u0438\u043d\u0443\u0442<\/strong>) \u0432\u0441\u0435\u0445 thumbnails. \u0412\u0441\u0435 \u0431\u044b\u043b\u043e \u0445\u043e\u0440\u043e\u0448\u043e, \u043f\u043e\u043a\u0430 \u043d\u0435 \u043d\u0430\u0447\u0430\u043b\u0438 \u043f\u043e\u0441\u0442\u0443\u043f\u0430\u0442\u044c \u0436\u0430\u043b\u043e\u0431\u044b, \u0447\u0442\u043e, \u0438\u043d\u043e\u0433\u0434\u0430, \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u043d\u0435 \u0443\u0441\u043f\u0435\u0432\u0430\u0435\u0442 \u0437\u0430 5 \u043c\u0438\u043d\u0443\u0442 \u0432\u0441\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c. \u041d\u0430\u0447\u0430\u043b\u0438 &#171;\u043a\u043e\u043f\u0430\u0442\u044c&#187; \u0438 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b\u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0443\u044e \u0432\u0435\u0449\u044c: <strong>\u043c\u044b \u0433\u0435\u043d\u0435\u0440\u0438\u043c 112 \u043f\u0440\u0435\u0432\u044c\u044e\u0448\u0435\u043a \u043a \u043e\u0434\u043d\u043e\u0439 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435<\/strong>. \u041d\u0430\u0448\u0435\u0439 &#171;\u0440\u0430\u0434\u043e\u0441\u0442\u0438&#187; \u043d\u0435 \u0431\u044b\u043b\u043e \u043f\u0440\u0435\u0434\u0435\u043b\u0430. \u041f\u043e\u0441\u043b\u0435 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0434\u0438\u0441\u043a\u0443\u0441\u0441\u0438\u0439 \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c <strong>maxReplicas <\/strong>\u0434\u043e<strong> 60<\/strong> \u0432 HPA (\u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u043b\u0430 \u043a\u043e\u0433\u0434\u0430 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u043b\u043e\u0441\u044c \u0431\u043e\u043b\u044c\u0448\u0435 80 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a), \u0442\u0430\u043a \u043a\u0430\u043a \u044d\u0442\u043e \u0441\u0430\u043c\u043e\u0435 \u0431\u044b\u0441\u0442\u0440\u043e\u0435 \u0438 \u0434\u0435\u0448\u0435\u0432\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435.<\/p>\n<h3>\u041d\u0430\u0448\u0438 \u0434\u043d\u0438<\/h3>\n<p>\u041f\u0440\u0438\u0448\u0451\u043b \u043d\u043e\u0432\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u0438 \u0435\u043c\u0443 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u0438\u0441\u044c thumbnails. \u0421\u0435\u0440\u0432\u0435\u0440 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043e\u043f\u0435\u0440\u0435\u0436\u0430\u043b \u0444\u0440\u043e\u043d\u0442, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0443 \u043d\u0430\u0441 \u0431\u044b\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u043d\u0430 R&amp;D. <\/p>\n<p>\u041f\u0435\u0440\u0432\u044b\u043c \u0431\u044b\u043b \u043d\u0430\u0439\u0434\u0435\u043d <strong>imgproxy<\/strong>, \u0430 \u043f\u043e\u0442\u043e\u043c \u0443\u0436\u0435 \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 (\u0441\u043c \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a). \u0422\u0430\u043a \u0436\u0435 \u043d\u0430\u043c \u043d\u0430 \u0433\u043b\u0430\u0437\u0430 \u043f\u043e\u043f\u0430\u043b\u0430\u0441\u044c <a href=\"https:\/\/evilmartians.com\/chronicles\/a-broader-picture-a-guide-on-imgproxy-for-businesses\" rel=\"noopener noreferrer nofollow\">\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f<\/a>. \u041e\u043d\u0430, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043e\u0447\u0435\u043d\u044c \u0441\u043c\u0430\u0445\u0438\u0432\u0430\u043b\u0430 \u043d\u0430 \u0437\u0430\u043a\u0430\u0437\u043d\u0443\u044e (\u0447\u0442\u043e \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u0445 \u0438 \u0431\u0443\u0434\u0435\u0442 \u0432\u0438\u0434\u043d\u043e), \u043d\u043e \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u043e\u0447\u0435\u043d\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e.<\/p>\n<p>\u041f\u0435\u0440\u0435\u0434 \u0442\u0435\u043c \u043a\u0430\u043a \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u0442\u044c \u043a \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e, \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0432 \u0438\u0442\u043e\u0433\u0435:<\/p>\n<ul>\n<li>\n<p>\u043f\u0440\u0438\u0435\u043c\u043b\u0435\u043c\u044b\u0439 RPS (\u043e\u0442 10)<\/p>\n<\/li>\n<li>\n<p>\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u0441 S3 (Minio)<\/p>\n<\/li>\n<li>\n<p>\u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u0435\u0432\u044c\u044e\u0448\u0435\u043a<\/p>\n<\/li>\n<li>\n<p>\u0437\u0430\u0449\u0438\u0442\u0430 \u043e\u0442 URL tampering<\/p>\n<\/li>\n<\/ul>\n<h3>\u041a\u0440\u0430\u0442\u043a\u0438\u0439 \u043e\u0431\u0437\u043e\u0440 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430<\/h3>\n<h3>Imgproxy<\/h3>\n<p><a href=\"https:\/\/github.com\/imgproxy\/imgproxy\" rel=\"noopener noreferrer nofollow\">Github<\/a> (<em>5k starts, latest release &#8212; 2021-09-07<\/em>)<\/p>\n<p>\u041f\u043b\u044e\u0441\u044b:<\/p>\n<ul>\n<li>\n<p>\u0441\u0430\u043c\u0430\u044f &#171;\u0436\u0438\u0432\u0430\u044f&#187; \u0438\u0437 \u0432\u0441\u0435\u0445 (\u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438 &#8212; \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0440\u0435\u043b\u0438\u0437 8 \u0434\u043d\u0435\u0439 \u043d\u0430\u0437\u0430\u0434)<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/docs.imgproxy.net\/\" rel=\"noopener noreferrer nofollow\">\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f<\/a><\/p>\n<\/li>\n<li>\n<p>\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 (\u0438\u043c\u0435\u0435\u0442\u0441\u044f <strong>PRO<\/strong> \u0432\u0435\u0440\u0441\u0438\u044f \u0441\u043e \u0441\u0432\u043e\u0438\u043c\u0438 \u0444\u0438\u0447\u0430\u043c\u0438)<\/p>\n<\/li>\n<li>\n<p>\u0435\u0441\u0442\u044c \u0437\u0430\u0449\u0438\u0442\u0430 \u043e\u0442 URL tampering (\u0435\u0441\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0441\u0438\u0433\u043d\u0430\u0442\u0443\u0440 \u0434\u043b\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u042f\u041f &#8212; <a href=\"https:\/\/github.com\/imgproxy\/imgproxy\/tree\/master\/examples\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/imgproxy\/imgproxy\/tree\/master\/examples<\/a>)<\/p>\n<\/li>\n<li>\n<p>\u043c\u043e\u0436\u0435\u0442 &#171;\u0447\u0438\u0442\u0430\u0442\u044c&#187; \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044b \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e <strong>http<\/strong>, \u0430 \u0438 \u043f\u043e <strong>S3<\/strong>, Google Cloud Storage \u0438 Azure Blob Storage<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/github.com\/imgproxy\/imgproxy-helm\" rel=\"noopener noreferrer nofollow\">\u0435\u0441\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u044b\u0439 helm chart <\/a><\/p>\n<\/li>\n<\/ul>\n<p>\u041c\u0438\u043d\u0443\u0441\u044b:<\/p>\n<ul>\n<li>\n<p>\u043d\u0435\u0442 \u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u0430 \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f (\u044d\u0442\u043e \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u043e\u0437\u0438\u0446\u0438\u044f: <em>imgproxy does one thing \u2014 resizing remote images \u2014 and does it well. It works great when you need to resize multiple images on the fly to make them match your application design without preparing a ton of cached resized images or re-doing it every time the design changes.<\/em>)<\/p>\n<\/li>\n<\/ul>\n<h3>thumbor<\/h3>\n<p><a href=\"https:\/\/github.com\/thumbor\/thumbor\" rel=\"noopener noreferrer nofollow\">Github<\/a> (<em>8.6k starts, latest release &#8212; <\/em>2020-02-27)<\/p>\n<p>\u041f\u043b\u044e\u0441\u044b:<\/p>\n<ul>\n<li>\n<p>\u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u0437\u0432\u0435\u0437\u0434 \u043d\u0430 \u0433\u0438\u0442\u0445\u0430\u0431\u0435<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/thumbor.readthedocs.io\/en\/latest\/plugins.html\" rel=\"noopener noreferrer nofollow\">\u0435\u0441\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0435 \u043f\u043b\u0430\u0433\u0438\u043d\u044b<\/a> <\/p>\n<\/li>\n<li>\n<p>\u0435\u0441\u0442\u044c \u0437\u0430\u0449\u0438\u0442\u0430 \u043e\u0442 URL tampering<\/p>\n<\/li>\n<li>\n<p>\u0435\u0441\u0442\u044c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/p>\n<\/li>\n<\/ul>\n<p>\u041c\u0438\u043d\u0443\u0441\u044b:<\/p>\n<ul>\n<li>\n<p>\u043c\u043e\u0436\u0435\u0442 &#171;\u0447\u0438\u0442\u0430\u0442\u044c&#187; \u0441 S3, \u043d\u043e \u043a\u0430\u043a \u0432\u044b\u044f\u0441\u043d\u0438\u043b\u043e\u0441\u044c &#8212; \u043f\u043b\u0430\u0433\u0438\u043d \u0434\u043b\u044f S3 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 Python 2.7, \u0430 \u043c\u044b \u0432\u044b\u0431\u0440\u0430\u043b\u0438 Release 7.0.0a5 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 Python 3. \u0412 \u0438\u0442\u043e\u0433\u0435 \u044d\u0442\u0438 \u0448\u0442\u0443\u043a\u0438 \u043d\u0435 \u0432\u0437\u043b\u0435\u0442\u0435\u043b\u0438 \u0432\u043c\u0435\u0441\u0442\u0435<\/p>\n<\/li>\n<li>\n<p>\u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 &#8212; <strong>file_storage<\/strong>, \u0447\u0442\u043e \u043d\u0435 \u0435\u0441\u0442\u044c \u0445\u043e\u0440\u043e\u0448\u043e, \u0435\u0441\u043b\u0438 \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 k8s<\/p>\n<\/li>\n<\/ul>\n<h3>imaginary<\/h3>\n<p><a href=\"https:\/\/github.com\/h2non\/imaginary\" rel=\"noopener noreferrer nofollow\">Github<\/a> (<em>3.8k starts, latest release &#8212; <\/em>2020-08-12)<\/p>\n<p>\u041f\u043b\u044e\u0441\u044b:<\/p>\n<ul>\n<li>\n<p>\u0435\u0441\u0442\u044c \u0437\u0430\u0449\u0438\u0442\u0430 \u043e\u0442 URL tampering<\/p>\n<\/li>\n<li>\n<p>\u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435<\/p>\n<\/li>\n<li>\n<p>\u0435\u0441\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u0444\u0438\u0448\u043a\u0430: \u0437\u0430\u043f\u0440\u043e\u0441\u044b GET | POST \u043d\u0430 \/info &#8212; &#171;<em>Returns the image metadata as JSON&#187;<\/em><\/p>\n<\/li>\n<\/ul>\n<p>\u041c\u0438\u043d\u0443\u0441\u044b:<\/p>\n<ul>\n<li>\n<p>\u043d\u0435\u0442 S3<\/p>\n<\/li>\n<li>\n<p>\u043d\u0435\u0442 \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/p>\n<\/li>\n<\/ul>\n<p>\u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0435 \u0441\u043b\u043e\u0432\u043e \u0445\u043e\u0447\u0443 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u043e \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044e \u0441\u0438\u0433\u043d\u0430\u0442\u0443\u0440\u044b (\u0437\u0430\u0449\u0438\u0442\u0430 \u043e\u0442 URL tampering). \u0412\u0441\u0435 \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438: <em>Enable URL signature (URL-safe Base64-encoded HMAC digest). <\/em>\u0425\u043e\u0440\u043e\u0448\u043e \u0435\u0441\u043b\u0438 \u0442\u044b \u043f\u0438\u0448\u0435\u0448\u044c \u043d\u0430 Go, \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0439\u0442\u0438 \u0432 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 \u0438 \u043d\u0430\u0439\u0442\u0438 \u044d\u0442\u043e \u0434\u0435\u043b\u043e: <a href=\"https:\/\/github.com\/h2non\/imaginary\/blob\/master\/middleware.go#L173\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/h2non\/imaginary\/blob\/master\/middleware.go#L173<\/a><\/p>\n<p>\u0423 \u043d\u0430\u0441 \u0436\u0435 \u0431\u044b\u043b PHP&#8230;<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/889\/3fc\/999\/8893fc999abf4801c4d02b410f69c401.png\" width=\"800\" height=\"349\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/889\/3fc\/999\/8893fc999abf4801c4d02b410f69c401.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0442\u044c \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0447\u0442\u043e \u0431\u044b <a href=\"https:\/\/github.com\/h2non\/imaginary\/issues\/235#issuecomment-453833712\" rel=\"noopener noreferrer nofollow\">\u043e\u0442\u044b\u0441\u043a\u0430\u0442\u044c \u044d\u0442\u043e<\/a>.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u043a\u0440\u0430\u0442\u0446\u0435, \u0442\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0432 URL \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435 (\u043e\u0442\u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u043f\u043e abc): <em>height=240&amp;url=XXX&amp;width=320&amp;sign=YYY. <\/em>\u0415\u0441\u043b\u0438 \u0432\u044b \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435: <em>width=320?height=240&amp;url=XXX&amp;sign=YYY<\/em>, \u0442\u043e \u0441\u0438\u0433\u043d\u0430\u0442\u0443\u0440\u0430 \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0435\u0442 \u0438 \u0432\u043c\u0435\u0441\u0442\u043e \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u0432\u044b \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u0442\u0435\u043a\u0441\u0442 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435.<\/p>\n<h3>picfit<\/h3>\n<p><a href=\"https:\/\/github.com\/thoas\/picfit\" rel=\"noopener noreferrer nofollow\">Github<\/a> (<em>1.5k starts, latest release &#8212; <\/em>2020-09-11)<\/p>\n<p>\u041f\u043b\u044e\u0441\u044b:<\/p>\n<ul>\n<li>\n<p>\u0435\u0441\u0442\u044c \u0437\u0430\u0449\u0438\u0442\u0430 \u043e\u0442 URL tampering<\/p>\n<\/li>\n<li>\n<p>\u043f\u0440\u043e\u0441\u0442 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 (\u0432\u0441\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0432 json \u0444\u0430\u0439\u043b\u0435)<\/p>\n<\/li>\n<li>\n<p>\u0435\u0441\u0442\u044c \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 Amazon S3,  DigitalOcean S3, Google Cloud Storage.<\/p>\n<\/li>\n<\/ul>\n<p>\u041c\u0438\u043d\u0443\u0441\u044b:<\/p>\n<ul>\n<li>\n<p>\u043d\u0435\u0442 \u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u0434\u043e\u043a\u0435\u0440 \u043e\u0431\u0440\u0430\u0437\u0430 \u0432 docker hub (\u043d\u043e \u0432 \u0440\u0435\u043f\u0435 \u0435\u0441\u0442\u044c <em>Dockerfile<\/em>)<\/p>\n<\/li>\n<li>\n<p>\u043a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u0437\u0436\u0435, \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0441 Amazon (\u0442\u0435. \u043d\u0435\u043b\u044c\u0437\u044f \u0441\u0434\u0435\u043b\u0430\u0442\u044c <em>s3_endpoint=http:\/\/minio:9000<\/em>). \u041a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0430 \u0444\u0430\u0439\u043b\u0430\u0445 \u0435\u0441\u0442\u044c, \u043d\u043e \u043d\u0430\u043c \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442<\/p>\n<\/li>\n<\/ul>\n<h3>imageproxy<\/h3>\n<p><a href=\"https:\/\/github.com\/willnorris\/imageproxy\" rel=\"noopener noreferrer nofollow\">Github<\/a> (<em>2.6k starts, latest release &#8212; <\/em>2020-04-03)<\/p>\n<p>\u041f\u043b\u044e\u0441\u044b:<\/p>\n<ul>\n<li>\n<p>\u0435\u0441\u0442\u044c \u0437\u0430\u0449\u0438\u0442\u0430 \u043e\u0442 URL tampering<\/p>\n<\/li>\n<li>\n<p>\u0435\u0441\u0442\u044c \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 S3 \u0438 \u043c\u043d\u043e\u0433\u043e \u043a\u0443\u0434\u0430 \u0435\u0449\u0435 (\u0438 \u0434\u0430\u0436\u0435 <strong>in-memory LRU cache<\/strong>)<\/p>\n<\/li>\n<\/ul>\n<p>\u041c\u0438\u043d\u0443\u0441\u044b:<\/p>\n<ul>\n<li>\n<p>\u043d\u0435\u0442 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u0430 <strong>upscale<\/strong> (\u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430 1920&#215;1080, \u0442\u043e \u0432\u044b \u043d\u0438\u043a\u0430\u043a \u043d\u0435 \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c 3840&#215;2160). Upd: <a class=\"mention\" href=\"\/users\/garfik\">@garfik<\/a> \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u0430\u043b \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <strong><em>scaleUp<\/em><\/strong><em>, <\/em>\u043f\u043e\u0441\u043b\u0435 \u0435\u0433\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f &#8212; \u0432\u0441\u0435 \u0432\u0437\u043b\u0435\u0442\u0435\u043b\u043e.<\/p>\n<\/li>\n<\/ul>\n<h4>weserv\/images<\/h4>\n<p><a href=\"https:\/\/github.com\/weserv\/images\" rel=\"noopener noreferrer nofollow\">Github<\/a> (<em>908 starts, latest release &#8212; <\/em>2021-09-07)<\/p>\n<p>\u041f\u043b\u044e\u0441\u044b:<\/p>\n<ul>\n<li>\n<p>\u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438 \u0431\u044b\u0441\u0442\u0440\u044b\u0439<\/p>\n<\/li>\n<li>\n<p>\u0435\u0441\u0442\u044c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0435 \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 <strong>nginx proxy<\/strong><\/p>\n<\/li>\n<\/ul>\n<p>\u041c\u0438\u043d\u0443\u0441\u044b:<\/p>\n<ul>\n<li>\n<p>\u043d\u0435\u0442 \u0437\u0430\u0449\u0438\u0442\u044b \u043e\u0442 URL tampering<\/p>\n<\/li>\n<li>\n<p>\u043d\u0435\u0442 S3<\/p>\n<\/li>\n<\/ul>\n<h2>\u0422\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/h2>\n<p>\u0411\u044b\u043b \u0441\u043e\u0431\u0440\u0430\u043d<a href=\"https:\/\/github.com\/mamchyts\/benchmark-thumbnails\" rel=\"noopener noreferrer nofollow\"> docker-compose \u0441\u0442\u0435\u043d\u0434<\/a> (\u0442\u0430\u043c \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0432\u0441\u0435 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438), \u0432\u0441\u0435 \u0447\u0442\u043e \u043c\u043e\u0433\u043b\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u043a\u0435\u0448\u043e\u043c &#8212; \u0431\u044b\u043b\u043e \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043e \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430\u0445:<\/p>\n<ul>\n<li>\n<p><strong>thumbor<\/strong> \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d \u0441 <em>\u0444\u0430\u0439\u043b\u043e\u0432\u044b\u043c<\/em> \u043a\u0435\u0448\u043e\u043c<\/p>\n<\/li>\n<li>\n<p><strong>picfit<\/strong> \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d \u0441 <em>\u0444\u0430\u0439\u043b\u043e\u0432\u044b\u043c<\/em> \u043a\u0435\u0448\u043e\u043c<\/p>\n<\/li>\n<li>\n<p><strong>imageproxy<\/strong> \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d \u0441 <em>in-memory<\/em> \u043a\u0435\u0448\u043e\u043c<\/p>\n<\/li>\n<\/ul>\n<p>\u041f\u043e\u043b\u043d\u044b\u0439 docker-compose.yaml: <\/p>\n<pre><code class=\"yaml\">version: '3.8'  services:   imgproxy:     image: darthsim\/imgproxy:v2.17     ports:       - 8080:8080     restart: always     deploy:       resources:         limits:           cpus: 1     environment:       - IMGPROXY_CONCURRENCY=1       - IMGPROXY_USE_ETAG=true    thumbor:     image: minimalcompact\/thumbor:7.0.0a5     ports:       - 8081:80     restart: always     deploy:       resources:         limits:           cpus: 1    thumbor-cache:     image: minimalcompact\/thumbor:7.0.0a5     ports:       - 8082:80     restart: always     deploy:       resources:         limits:           cpus: 1     environment:       - RESULT_STORAGE_EXPIRATION_SECONDS=3600       - RESULT_STORAGE_FILE_STORAGE_ROOT_PATH=\/tmp\/thumbor\/result_storage       - RESULT_STORAGE_STORES_UNSAFE=True       - RESULT_STORAGE=thumbor.result_storages.file_storage    imaginary:     image: h2non\/imaginary:1.2.4     command: -enable-url-source -cpus 1     ports:       - 8083:80     restart: always     deploy:       resources:         limits:           cpus: 1     environment:       PORT: 80    picfit:     build:       context: .       dockerfile: .\/.docker\/picfit\/Dockerfile     ports:       - 8084:3001     restart: always     deploy:       resources:         limits:           cpus: 1     environment:       - PICFIT_CONFIG_PATH=\/config.json    picfit-cache:     build:       context: .       dockerfile: .\/.docker\/picfit\/Dockerfile     ports:       - 8085:3001     restart: always     deploy:       resources:         limits:           cpus: 1     environment:       - PICFIT_CONFIG_PATH=\/config_cache.json    imageproxy:     image: willnorris\/imageproxy:latest     ports:       - 8086:8080     restart: always     deploy:       resources:         limits:           cpus: 1     environment:       - IMAGEPROXY_SCALEUP=true    imageproxy-cache:     image: willnorris\/imageproxy:latest     ports:       - 8087:8080     environment:       - IMAGEPROXY_CACHE=memory:100:24h       - IMAGEPROXY_SCALEUP=true    weserv-images:     image: ghcr.io\/weserv\/images:5.x     ports:       - 8088:80     restart: always     deploy:       resources:         limits:           cpus: 1    weserv-images-without-cache:     build:       context: .       dockerfile: .\/.docker\/weserv-images\/Dockerfile     ports:       - 8089:80     restart: always     deploy:       resources:         limits:           cpus: 1  networks:   default:     driver: bridge     ipam:       config:         - subnet: 172.10.10.0\/24 <\/code><\/pre>\n<h3>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b<\/h3>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/d88\/0d1\/d88\/d880d1d8835cdf2042fdca2a3106fca5.png\" width=\"1800\" height=\"1200\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d88\/0d1\/d88\/d880d1d8835cdf2042fdca2a3106fca5.png\"\/><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/ba3\/2b0\/ff2\/ba32b0ff20bcf51843d6c3e52b23af87.png\" width=\"1800\" height=\"1200\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/ba3\/2b0\/ff2\/ba32b0ff20bcf51843d6c3e52b23af87.png\"\/><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/8f1\/727\/0fb\/8f17270fbf0753955bf90932f2e5e3ad.png\" width=\"1800\" height=\"1200\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/8f1\/727\/0fb\/8f17270fbf0753955bf90932f2e5e3ad.png\"\/><figcaption><\/figcaption><\/figure>\n<h4>\u0412\u044b\u0432\u043e\u0434\u044b<\/h4>\n<p><strong>\u0421\u0435\u0440\u0435\u0431\u0440\u044f\u043d\u043e\u0439 \u043f\u0443\u043b\u0438 \u043d\u0435\u0442<\/strong>. \u041a\u0442\u043e-\u0442\u043e \u0445\u043e\u0440\u043e\u0448 \u0432 \u043e\u0434\u043d\u043e\u043c, \u043a\u0442\u043e-\u0442\u043e \u0432 \u0434\u0440\u0443\u0433\u043e\u043c. \u0413\u0434\u0435-\u0442\u043e \u0435\u0441\u0442\u044c \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u0433\u0434\u0435-\u0442\u043e \u0435\u0433\u043e \u043d\u0435\u0442 \u0438 \u0442\u0434.<\/p>\n<p>\u041d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043c\u044b \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438\u0441\u044c \u043d\u0430 <strong>Imgproxy<\/strong>. \u0414\u0430, \u0432 \u043d\u0435\u0439 \u043d\u0435\u0442 \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u043f\u0440\u0435\u0432\u044c\u044e\u0448\u0435\u043a, \u043d\u043e \u0442\u0430\u043c \u0435\u0441\u0442\u044c ETag\/Cache-Control\/Expires HTTP headers. \u041f\u043b\u044e\u0441 \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c watermarks \u0438 \u043c\u043d\u043e\u0433\u043e \u0447\u0435\u0433\u043e \u0435\u0449\u0435. \u0414\u0430 \u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e.<\/p>\n<p>P.S. \u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u043e\u0432 \u043f\u0440\u043e \u0447\u0442\u0435\u043d\u0438\u0435 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u043e\u0432 \u0441 <strong>S3<\/strong> \u0438 \u043f\u043e <strong>http<\/strong>: \u0442\u0430\u043a \u043a\u0430\u043a \u043c\u044b \u0440\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u043b\u0438 Minio S3 \u0440\u044f\u0434\u043e\u043c \u0441 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0430\u043c\u0438 \u043f\u0440\u0435\u0432\u044c\u044e\u0448\u0435\u043a &#8212; \u0440\u0430\u0437\u043d\u0438\u0446\u044b \u0432 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043d\u0435 \u0431\u044b\u043b\u043e, \u043e\u0442 \u0441\u043b\u043e\u0432\u0430 \u0441\u043e\u0432\u0441\u0435\u043c.<\/p>\n<p>PPS. \u0414\u043e\u0431\u0430\u0432\u0438\u043b <strong>weserv\/images<\/strong> \u043f\u043e \u043f\u0440\u043e\u0441\u044c\u0431\u0435 <a class=\"mention\" href=\"\/users\/mazaxakon\">@mazaxakon<\/a>. <\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/578282\/\"> https:\/\/habr.com\/ru\/articles\/578282\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h3>\u041f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f<\/h3>\n<p>\u0416\u0438\u043b \u0431\u044b\u043b \u043e\u0434\u0438\u043d \u043d\u043e\u0432\u043e\u0441\u0442\u043d\u043e\u0439 \u043f\u0440\u043e\u0435\u043a\u0442. \u0412\u0440\u0435\u043c\u044f \u0448\u043b\u043e, \u043e\u0434\u043d\u0438 \u0444\u0438\u0447\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u043b\u0438\u0441\u044c, \u0432\u0442\u043e\u0440\u044b\u0435 \u0443\u0434\u0430\u043b\u044f\u043b\u0438\u0441\u044c&#8230; \u041e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0432\u0430\u0436\u043d\u0435\u0439\u0448\u0438\u0445 \u0444\u0438\u0448\u0435\u043a \u0431\u044b\u043b\u0430 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u043f\u0440\u0435\u0432\u044c\u044e\u0448\u0435\u043a \u043a \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u043c (thumbnails), \u0430 \u0438\u043c\u0435\u043d\u043d\u043e &#8212; \u0431\u044b\u0441\u0442\u0440\u0430\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f (<strong>\u0434\u043e 5 \u043c\u0438\u043d\u0443\u0442<\/strong>) \u0432\u0441\u0435\u0445 thumbnails. \u0412\u0441\u0435 \u0431\u044b\u043b\u043e \u0445\u043e\u0440\u043e\u0448\u043e, \u043f\u043e\u043a\u0430 \u043d\u0435 \u043d\u0430\u0447\u0430\u043b\u0438 \u043f\u043e\u0441\u0442\u0443\u043f\u0430\u0442\u044c \u0436\u0430\u043b\u043e\u0431\u044b, \u0447\u0442\u043e, \u0438\u043d\u043e\u0433\u0434\u0430, \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u043d\u0435 \u0443\u0441\u043f\u0435\u0432\u0430\u0435\u0442 \u0437\u0430 5 \u043c\u0438\u043d\u0443\u0442 \u0432\u0441\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c. \u041d\u0430\u0447\u0430\u043b\u0438 &#171;\u043a\u043e\u043f\u0430\u0442\u044c&#187; \u0438 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b\u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0443\u044e \u0432\u0435\u0449\u044c: <strong>\u043c\u044b \u0433\u0435\u043d\u0435\u0440\u0438\u043c 112 \u043f\u0440\u0435\u0432\u044c\u044e\u0448\u0435\u043a \u043a \u043e\u0434\u043d\u043e\u0439 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435<\/strong>. \u041d\u0430\u0448\u0435\u0439 &#171;\u0440\u0430\u0434\u043e\u0441\u0442\u0438&#187; \u043d\u0435 \u0431\u044b\u043b\u043e \u043f\u0440\u0435\u0434\u0435\u043b\u0430. \u041f\u043e\u0441\u043b\u0435 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0434\u0438\u0441\u043a\u0443\u0441\u0441\u0438\u0439 \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c <strong>maxReplicas <\/strong>\u0434\u043e<strong> 60<\/strong> \u0432 HPA (\u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u043b\u0430 \u043a\u043e\u0433\u0434\u0430 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u043b\u043e\u0441\u044c \u0431\u043e\u043b\u044c\u0448\u0435 80 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a), \u0442\u0430\u043a \u043a\u0430\u043a \u044d\u0442\u043e \u0441\u0430\u043c\u043e\u0435 \u0431\u044b\u0441\u0442\u0440\u043e\u0435 \u0438 \u0434\u0435\u0448\u0435\u0432\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435.<\/p>\n<h3>\u041d\u0430\u0448\u0438 \u0434\u043d\u0438<\/h3>\n<p>\u041f\u0440\u0438\u0448\u0451\u043b \u043d\u043e\u0432\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u0438 \u0435\u043c\u0443 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u0438\u0441\u044c thumbnails. \u0421\u0435\u0440\u0432\u0435\u0440 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043e\u043f\u0435\u0440\u0435\u0436\u0430\u043b \u0444\u0440\u043e\u043d\u0442, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0443 \u043d\u0430\u0441 \u0431\u044b\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u043d\u0430 R&amp;D. <\/p>\n<p>\u041f\u0435\u0440\u0432\u044b\u043c \u0431\u044b\u043b \u043d\u0430\u0439\u0434\u0435\u043d <strong>imgproxy<\/strong>, \u0430 \u043f\u043e\u0442\u043e\u043c \u0443\u0436\u0435 \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 (\u0441\u043c \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a). \u0422\u0430\u043a \u0436\u0435 \u043d\u0430\u043c \u043d\u0430 \u0433\u043b\u0430\u0437\u0430 \u043f\u043e\u043f\u0430\u043b\u0430\u0441\u044c <a href=\"https:\/\/evilmartians.com\/chronicles\/a-broader-picture-a-guide-on-imgproxy-for-businesses\" rel=\"noopener noreferrer nofollow\">\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f<\/a>. \u041e\u043d\u0430, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043e\u0447\u0435\u043d\u044c \u0441\u043c\u0430\u0445\u0438\u0432\u0430\u043b\u0430 \u043d\u0430 \u0437\u0430\u043a\u0430\u0437\u043d\u0443\u044e (\u0447\u0442\u043e \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u0445 \u0438 \u0431\u0443\u0434\u0435\u0442 \u0432\u0438\u0434\u043d\u043e), \u043d\u043e \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u043e\u0447\u0435\u043d\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e.<\/p>\n<p>\u041f\u0435\u0440\u0435\u0434 \u0442\u0435\u043c \u043a\u0430\u043a \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u0442\u044c \u043a \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e, \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0432 \u0438\u0442\u043e\u0433\u0435:<\/p>\n<ul>\n<li>\n<p>\u043f\u0440\u0438\u0435\u043c\u043b\u0435\u043c\u044b\u0439 RPS (\u043e\u0442 10)<\/p>\n<\/li>\n<li>\n<p>\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u0441 S3 (Minio)<\/p>\n<\/li>\n<li>\n<p>\u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u0435\u0432\u044c\u044e\u0448\u0435\u043a<\/p>\n<\/li>\n<li>\n<p>\u0437\u0430\u0449\u0438\u0442\u0430 \u043e\u0442 URL tampering<\/p>\n<\/li>\n<\/ul>\n<h3>\u041a\u0440\u0430\u0442\u043a\u0438\u0439 \u043e\u0431\u0437\u043e\u0440 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430<\/h3>\n<h3>Imgproxy<\/h3>\n<p><a href=\"https:\/\/github.com\/imgproxy\/imgproxy\" rel=\"noopener noreferrer nofollow\">Github<\/a> (<em>5k starts, latest release &#8212; 2021-09-07<\/em>)<\/p>\n<p>\u041f\u043b\u044e\u0441\u044b:<\/p>\n<ul>\n<li>\n<p>\u0441\u0430\u043c\u0430\u044f &#171;\u0436\u0438\u0432\u0430\u044f&#187; \u0438\u0437 \u0432\u0441\u0435\u0445 (\u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438 &#8212; \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0440\u0435\u043b\u0438\u0437 8 \u0434\u043d\u0435\u0439 \u043d\u0430\u0437\u0430\u0434)<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/docs.imgproxy.net\/\" rel=\"noopener noreferrer nofollow\">\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f<\/a><\/p>\n<\/li>\n<li>\n<p>\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 (\u0438\u043c\u0435\u0435\u0442\u0441\u044f <strong>PRO<\/strong> \u0432\u0435\u0440\u0441\u0438\u044f \u0441\u043e \u0441\u0432\u043e\u0438\u043c\u0438 \u0444\u0438\u0447\u0430\u043c\u0438)<\/p>\n<\/li>\n<li>\n<p>\u0435\u0441\u0442\u044c \u0437\u0430\u0449\u0438\u0442\u0430 \u043e\u0442 URL tampering (\u0435\u0441\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0441\u0438\u0433\u043d\u0430\u0442\u0443\u0440 \u0434\u043b\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u042f\u041f &#8212; <a href=\"https:\/\/github.com\/imgproxy\/imgproxy\/tree\/master\/examples\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/imgproxy\/imgproxy\/tree\/master\/examples<\/a>)<\/p>\n<\/li>\n<li>\n<p>\u043c\u043e\u0436\u0435\u0442 &#171;\u0447\u0438\u0442\u0430\u0442\u044c&#187; \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044b \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e <strong>http<\/strong>, \u0430 \u0438 \u043f\u043e <strong>S3<\/strong>, Google Cloud Storage \u0438 Azure Blob Storage<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/github.com\/imgproxy\/imgproxy-helm\" rel=\"noopener noreferrer nofollow\">\u0435\u0441\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u044b\u0439 helm chart <\/a><\/p>\n<\/li>\n<\/ul>\n<p>\u041c\u0438\u043d\u0443\u0441\u044b:<\/p>\n<ul>\n<li>\n<p>\u043d\u0435\u0442 \u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u0430 \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f (\u044d\u0442\u043e \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u043e\u0437\u0438\u0446\u0438\u044f: <em>imgproxy does one thing \u2014 resizing remote images \u2014 and does it well. It works great when you need to resize multiple images on the fly to make them match your application design without preparing a ton of cached resized images or re-doing it every time the design changes.<\/em>)<\/p>\n<\/li>\n<\/ul>\n<h3>thumbor<\/h3>\n<p><a href=\"https:\/\/github.com\/thumbor\/thumbor\" rel=\"noopener noreferrer nofollow\">Github<\/a> (<em>8.6k starts, latest release &#8212; <\/em>2020-02-27)<\/p>\n<p>\u041f\u043b\u044e\u0441\u044b:<\/p>\n<ul>\n<li>\n<p>\u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u0437\u0432\u0435\u0437\u0434 \u043d\u0430 \u0433\u0438\u0442\u0445\u0430\u0431\u0435<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/thumbor.readthedocs.io\/en\/latest\/plugins.html\" rel=\"noopener noreferrer nofollow\">\u0435\u0441\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0435 \u043f\u043b\u0430\u0433\u0438\u043d\u044b<\/a> <\/p>\n<\/li>\n<li>\n<p>\u0435\u0441\u0442\u044c \u0437\u0430\u0449\u0438\u0442\u0430 \u043e\u0442 URL tampering<\/p>\n<\/li>\n<li>\n<p>\u0435\u0441\u0442\u044c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/p>\n<\/li>\n<\/ul>\n<p>\u041c\u0438\u043d\u0443\u0441\u044b:<\/p>\n<ul>\n<li>\n<p>\u043c\u043e\u0436\u0435\u0442 &#171;\u0447\u0438\u0442\u0430\u0442\u044c&#187; \u0441 S3, \u043d\u043e \u043a\u0430\u043a \u0432\u044b\u044f\u0441\u043d\u0438\u043b\u043e\u0441\u044c &#8212; \u043f\u043b\u0430\u0433\u0438\u043d \u0434\u043b\u044f S3 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 Python 2.7, \u0430 \u043c\u044b \u0432\u044b\u0431\u0440\u0430\u043b\u0438 Release 7.0.0a5 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 Python 3. \u0412 \u0438\u0442\u043e\u0433\u0435 \u044d\u0442\u0438 \u0448\u0442\u0443\u043a\u0438 \u043d\u0435 \u0432\u0437\u043b\u0435\u0442\u0435\u043b\u0438 \u0432\u043c\u0435\u0441\u0442\u0435<\/p>\n<\/li>\n<li>\n<p>\u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 &#8212; <strong>file_storage<\/strong>, \u0447\u0442\u043e \u043d\u0435 \u0435\u0441\u0442\u044c \u0445\u043e\u0440\u043e\u0448\u043e, \u0435\u0441\u043b\u0438 \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 k8s<\/p>\n<\/li>\n<\/ul>\n<h3>imaginary<\/h3>\n<p><a href=\"https:\/\/github.com\/h2non\/imaginary\" rel=\"noopener noreferrer nofollow\">Github<\/a> (<em>3.8k starts, latest release &#8212; <\/em>2020-08-12)<\/p>\n<p>\u041f\u043b\u044e\u0441\u044b:<\/p>\n<ul>\n<li>\n<p>\u0435\u0441\u0442\u044c \u0437\u0430\u0449\u0438\u0442\u0430 \u043e\u0442 URL tampering<\/p>\n<\/li>\n<li>\n<p>\u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435<\/p>\n<\/li>\n<li>\n<p>\u0435\u0441\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u0444\u0438\u0448\u043a\u0430: \u0437\u0430\u043f\u0440\u043e\u0441\u044b GET | POST \u043d\u0430 \/info &#8212; &#171;<em>Returns the image metadata as JSON&#187;<\/em><\/p>\n<\/li>\n<\/ul>\n<p>\u041c\u0438\u043d\u0443\u0441\u044b:<\/p>\n<ul>\n<li>\n<p>\u043d\u0435\u0442 S3<\/p>\n<\/li>\n<li>\n<p>\u043d\u0435\u0442 \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/p>\n<\/li>\n<\/ul>\n<p>\u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0435 \u0441\u043b\u043e\u0432\u043e \u0445\u043e\u0447\u0443 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u043e \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044e \u0441\u0438\u0433\u043d\u0430\u0442\u0443\u0440\u044b (\u0437\u0430\u0449\u0438\u0442\u0430 \u043e\u0442 URL tampering). \u0412\u0441\u0435 \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438: <em>Enable URL signature (URL-safe Base64-encoded HMAC digest). <\/em>\u0425\u043e\u0440\u043e\u0448\u043e \u0435\u0441\u043b\u0438 \u0442\u044b \u043f\u0438\u0448\u0435\u0448\u044c \u043d\u0430 Go, \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0439\u0442\u0438 \u0432 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 \u0438 \u043d\u0430\u0439\u0442\u0438 \u044d\u0442\u043e \u0434\u0435\u043b\u043e: <a href=\"https:\/\/github.com\/h2non\/imaginary\/blob\/master\/middleware.go#L173\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/h2non\/imaginary\/blob\/master\/middleware.go#L173<\/a><\/p>\n<p>\u0423 \u043d\u0430\u0441 \u0436\u0435 \u0431\u044b\u043b PHP&#8230;<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0442\u044c \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0447\u0442\u043e \u0431\u044b <a href=\"https:\/\/github.com\/h2non\/imaginary\/issues\/235#issuecomment-453833712\" rel=\"noopener noreferrer nofollow\">\u043e\u0442\u044b\u0441\u043a\u0430\u0442\u044c \u044d\u0442\u043e<\/a>.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u043a\u0440\u0430\u0442\u0446\u0435, \u0442\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0432 URL \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435 (\u043e\u0442\u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u043f\u043e abc): <em>height=240&amp;url=XXX&amp;width=320&amp;sign=YYY. <\/em>\u0415\u0441\u043b\u0438 \u0432\u044b \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435: <em>width=320?height=240&amp;url=XXX&amp;sign=YYY<\/em>, \u0442\u043e \u0441\u0438\u0433\u043d\u0430\u0442\u0443\u0440\u0430 \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0435\u0442 \u0438 \u0432\u043c\u0435\u0441\u0442\u043e \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u0432\u044b \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u0442\u0435\u043a\u0441\u0442 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435.<\/p>\n<h3>picfit<\/h3>\n<p><a href=\"https:\/\/github.com\/thoas\/picfit\" rel=\"noopener noreferrer nofollow\">Github<\/a> (<em>1.5k starts, latest release &#8212; <\/em>2020-09-11)<\/p>\n<p>\u041f\u043b\u044e\u0441\u044b:<\/p>\n<ul>\n<li>\n<p>\u0435\u0441\u0442\u044c \u0437\u0430\u0449\u0438\u0442\u0430 \u043e\u0442 URL tampering<\/p>\n<\/li>\n<li>\n<p>\u043f\u0440\u043e\u0441\u0442 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 (\u0432\u0441\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0432 json \u0444\u0430\u0439\u043b\u0435)<\/p>\n<\/li>\n<li>\n<p>\u0435\u0441\u0442\u044c \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 Amazon S3,  DigitalOcean S3, Google Cloud Storage.<\/p>\n<\/li>\n<\/ul>\n<p>\u041c\u0438\u043d\u0443\u0441\u044b:<\/p>\n<ul>\n<li>\n<p>\u043d\u0435\u0442 \u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u0434\u043e\u043a\u0435\u0440 \u043e\u0431\u0440\u0430\u0437\u0430 \u0432 docker hub (\u043d\u043e \u0432 \u0440\u0435\u043f\u0435 \u0435\u0441\u0442\u044c <em>Dockerfile<\/em>)<\/p>\n<\/li>\n<li>\n<p>\u043a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u0437\u0436\u0435, \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0441 Amazon (\u0442\u0435. \u043d\u0435\u043b\u044c\u0437\u044f \u0441\u0434\u0435\u043b\u0430\u0442\u044c <em>s3_endpoint=http:\/\/minio:9000<\/em>). \u041a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0430 \u0444\u0430\u0439\u043b\u0430\u0445 \u0435\u0441\u0442\u044c, \u043d\u043e \u043d\u0430\u043c \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442<\/p>\n<\/li>\n<\/ul>\n<h3>imageproxy<\/h3>\n<p><a href=\"https:\/\/github.com\/willnorris\/imageproxy\" rel=\"noopener noreferrer nofollow\">Github<\/a> (<em>2.6k starts, latest release &#8212; <\/em>2020-04-03)<\/p>\n<p>\u041f\u043b\u044e\u0441\u044b:<\/p>\n<ul>\n<li>\n<p>\u0435\u0441\u0442\u044c \u0437\u0430\u0449\u0438\u0442\u0430 \u043e\u0442 URL tampering<\/p>\n<\/li>\n<li>\n<p>\u0435\u0441\u0442\u044c \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 S3 \u0438 \u043c\u043d\u043e\u0433\u043e \u043a\u0443\u0434\u0430 \u0435\u0449\u0435 (\u0438 \u0434\u0430\u0436\u0435 <strong>in-memory LRU cache<\/strong>)<\/p>\n<\/li>\n<\/ul>\n<p>\u041c\u0438\u043d\u0443\u0441\u044b:<\/p>\n<ul>\n<li>\n<p>\u043d\u0435\u0442 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u0430 <strong>upscale<\/strong> (\u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430 1920&#215;1080, \u0442\u043e \u0432\u044b \u043d\u0438\u043a\u0430\u043a \u043d\u0435 \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c 3840&#215;2160). Upd: <a class=\"mention\" href=\"\/users\/garfik\">@garfik<\/a> \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u0430\u043b \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <strong><em>scaleUp<\/em><\/strong><em>, <\/em>\u043f\u043e\u0441\u043b\u0435 \u0435\u0433\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f &#8212; \u0432\u0441\u0435 \u0432\u0437\u043b\u0435\u0442\u0435\u043b\u043e.<\/p>\n<\/li>\n<\/ul>\n<h4>weserv\/images<\/h4>\n<p><a href=\"https:\/\/github.com\/weserv\/images\" rel=\"noopener noreferrer nofollow\">Github<\/a> (<em>908 starts, latest release &#8212; <\/em>2021-09-07)<\/p>\n<p>\u041f\u043b\u044e\u0441\u044b:<\/p>\n<ul>\n<li>\n<p>\u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438 \u0431\u044b\u0441\u0442\u0440\u044b\u0439<\/p>\n<\/li>\n<li>\n<p>\u0435\u0441\u0442\u044c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0435 \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 <strong>nginx proxy<\/strong><\/p>\n<\/li>\n<\/ul>\n<p>\u041c\u0438\u043d\u0443\u0441\u044b:<\/p>\n<ul>\n<li>\n<p>\u043d\u0435\u0442 \u0437\u0430\u0449\u0438\u0442\u044b \u043e\u0442 URL tampering<\/p>\n<\/li>\n<li>\n<p>\u043d\u0435\u0442 S3<\/p>\n<\/li>\n<\/ul>\n<h2>\u0422\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/h2>\n<p>\u0411\u044b\u043b \u0441\u043e\u0431\u0440\u0430\u043d<a href=\"https:\/\/github.com\/mamchyts\/benchmark-thumbnails\" rel=\"noopener noreferrer nofollow\"> docker-compose \u0441\u0442\u0435\u043d\u0434<\/a> (\u0442\u0430\u043c \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0432\u0441\u0435 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438), \u0432\u0441\u0435 \u0447\u0442\u043e \u043c\u043e\u0433\u043b\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u043a\u0435\u0448\u043e\u043c &#8212; \u0431\u044b\u043b\u043e \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043e \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430\u0445:<\/p>\n<ul>\n<li>\n<p><strong>thumbor<\/strong> \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d \u0441 <em>\u0444\u0430\u0439\u043b\u043e\u0432\u044b\u043c<\/em> \u043a\u0435\u0448\u043e\u043c<\/p>\n<\/li>\n<li>\n<p><strong>picfit<\/strong> \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d \u0441 <em>\u0444\u0430\u0439\u043b\u043e\u0432\u044b\u043c<\/em> \u043a\u0435\u0448\u043e\u043c<\/p>\n<\/li>\n<li>\n<p><strong>imageproxy<\/strong> \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d \u0441 <em>in-memory<\/em> \u043a\u0435\u0448\u043e\u043c<\/p>\n<\/li>\n<\/ul>\n<p>\u041f\u043e\u043b\u043d\u044b\u0439 docker-compose.yaml: <\/p>\n<pre><code class=\"yaml\">version: '3.8'  services:   imgproxy:     image: darthsim\/imgproxy:v2.17     ports:       - 8080:8080     restart: always     deploy:       resources:         limits:           cpus: 1     environment:       - IMGPROXY_CONCURRENCY=1       - IMGPROXY_USE_ETAG=true    thumbor:     image: minimalcompact\/thumbor:7.0.0a5     ports:       - 8081:80     restart: always     deploy:       resources:         limits:           cpus: 1    thumbor-cache:     image: minimalcompact\/thumbor:7.0.0a5     ports:       - 8082:80     restart: always     deploy:       resources:         limits:           cpus: 1     environment:       - RESULT_STORAGE_EXPIRATION_SECONDS=3600       - RESULT_STORAGE_FILE_STORAGE_ROOT_PATH=\/tmp\/thumbor\/result_storage       - RESULT_STORAGE_STORES_UNSAFE=True       - RESULT_STORAGE=thumbor.result_storages.file_storage    imaginary:     image: h2non\/imaginary:1.2.4     command: -enable-url-source -cpus 1     ports:       - 8083:80     restart: always     deploy:       resources:         limits:           cpus: 1     environment:       PORT: 80    picfit:     build:       context: .       dockerfile: .\/.docker\/picfit\/Dockerfile     ports:       - 8084:3001     restart: always     deploy:       resources:         limits:           cpus: 1     environment:       - PICFIT_CONFIG_PATH=\/config.json    picfit-cache:     build:       context: .       dockerfile: .\/.docker\/picfit\/Dockerfile     ports:       - 8085:3001     restart: always     deploy:       resources:         limits:           cpus: 1     environment:       - PICFIT_CONFIG_PATH=\/config_cache.json    imageproxy:     image: willnorris\/imageproxy:latest     ports:       - 8086:8080     restart: always     deploy:       resources:         limits:           cpus: 1     environment:       - IMAGEPROXY_SCALEUP=true    imageproxy-cache:     image: willnorris\/imageproxy:latest     ports:       - 8087:8080     environment:       - IMAGEPROXY_CACHE=memory:100:24h       - IMAGEPROXY_SCALEUP=true    weserv-images:     image: ghcr.io\/weserv\/images:5.x     ports:       - 8088:80     restart: always     deploy:       resources:         limits:           cpus: 1    weserv-images-without-cache:     build:       context: .       dockerfile: .\/.docker\/weserv-images\/Dockerfile     ports:       - 8089:80     restart: always     deploy:       resources:         limits:           cpus: 1  networks:   default:     driver: bridge     ipam:       config:         - subnet: 172.10.10.0\/24 <\/code><\/pre>\n<h3>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b<\/h3>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<h4>\u0412\u044b\u0432\u043e\u0434\u044b<\/h4>\n<p><strong>\u0421\u0435\u0440\u0435\u0431\u0440\u044f\u043d\u043e\u0439 \u043f\u0443\u043b\u0438 \u043d\u0435\u0442<\/strong>. \u041a\u0442\u043e-\u0442\u043e \u0445\u043e\u0440\u043e\u0448 \u0432 \u043e\u0434\u043d\u043e\u043c, \u043a\u0442\u043e-\u0442\u043e \u0432 \u0434\u0440\u0443\u0433\u043e\u043c. \u0413\u0434\u0435-\u0442\u043e \u0435\u0441\u0442\u044c \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u0433\u0434\u0435-\u0442\u043e \u0435\u0433\u043e \u043d\u0435\u0442 \u0438 \u0442\u0434.<\/p>\n<p>\u041d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043c\u044b \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438\u0441\u044c \u043d\u0430 <strong>Imgproxy<\/strong>. \u0414\u0430, \u0432 \u043d\u0435\u0439 \u043d\u0435\u0442 \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u043f\u0440\u0435\u0432\u044c\u044e\u0448\u0435\u043a, \u043d\u043e \u0442\u0430\u043c \u0435\u0441\u0442\u044c ETag\/Cache-Control\/Expires HTTP headers. \u041f\u043b\u044e\u0441 \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c watermarks \u0438 \u043c\u043d\u043e\u0433\u043e \u0447\u0435\u0433\u043e \u0435\u0449\u0435. \u0414\u0430 \u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e.<\/p>\n<p>P.S. \u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u043e\u0432 \u043f\u0440\u043e \u0447\u0442\u0435\u043d\u0438\u0435 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u043e\u0432 \u0441 <strong>S3<\/strong> \u0438 \u043f\u043e <strong>http<\/strong>: \u0442\u0430\u043a \u043a\u0430\u043a \u043c\u044b \u0440\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u043b\u0438 Minio S3 \u0440\u044f\u0434\u043e\u043c \u0441 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0430\u043c\u0438 \u043f\u0440\u0435\u0432\u044c\u044e\u0448\u0435\u043a &#8212; \u0440\u0430\u0437\u043d\u0438\u0446\u044b \u0432 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043d\u0435 \u0431\u044b\u043b\u043e, \u043e\u0442 \u0441\u043b\u043e\u0432\u0430 \u0441\u043e\u0432\u0441\u0435\u043c.<\/p>\n<p>PPS. \u0414\u043e\u0431\u0430\u0432\u0438\u043b <strong>weserv\/images<\/strong> \u043f\u043e \u043f\u0440\u043e\u0441\u044c\u0431\u0435 <a class=\"mention\" href=\"\/users\/mazaxakon\">@mazaxakon<\/a>. <\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/578282\/\"> https:\/\/habr.com\/ru\/articles\/578282\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-407345","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/407345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=407345"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/407345\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=407345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=407345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=407345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}