Оптимизация изображений - #118
Open
shoman4eg wants to merge 2 commits into
Open
Conversation
shoman4eg
force-pushed
the
optimize-images
branch
2 times, most recently
from
July 28, 2026 20:45
4c964e5 to
cf26e8f
Compare
shoman4eg
force-pushed
the
optimize-images
branch
from
July 29, 2026 15:47
cf26e8f to
f33fa45
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Все PNG/JPEG/SVG в
pages/**/_images(433 файла) прогнаны через пайплайн и оптимизированы:pngquant(quality 80–95, near-lossless) +optipng -o4, метаданные удаленыjpegoptim: progressive, strip-all, max quality 85svgo --multipass, убрана editor-метадата draw.io (история правок, agent info)Качество проверено визуально и метрикой PSNR (41–46 дБ на выборке — уровень "визуально lossless").
Примечание про историю git
Этот PR не уменьшает размер
.git— старые версии картинок (~86.7 МБ) остаются в истории, коммит только добавляет новые поверх. Если важен общий размер репозитория, можно рассмотретьgit filter-repo(или BFG Repo-Cleaner), чтобы вычистить старые блобы из истории. Но это требует force-push и переписывания хэшей коммитов, что ломает синхронизацию для всех существующих форков/клонов — стоит делать осознанно и отдельно от этого PR.