diff options
author | Paul Duncan <pabs@pablotron.org> | 2022-01-29 09:04:38 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2022-01-29 09:04:38 -0500 |
commit | 6c5262436046d2a299cce23e333a458f11f81a62 (patch) | |
tree | 0aa904caeefe92cfe355458b2ff7ceb02a59943c /content/posts | |
parent | 8c333f3c82409a6a29fd7cb92fe78aee154a3bec (diff) | |
download | pablotron.org-6c5262436046d2a299cce23e333a458f11f81a62.tar.bz2 pablotron.org-6c5262436046d2a299cce23e333a458f11f81a62.zip |
posts/media-shrinkage: add link to tdewolff/minify
Diffstat (limited to 'content/posts')
-rw-r--r-- | content/posts/2022-01-28-media-shrinkage.md | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/content/posts/2022-01-28-media-shrinkage.md b/content/posts/2022-01-28-media-shrinkage.md index dbe87a2..959cc30 100644 --- a/content/posts/2022-01-28-media-shrinkage.md +++ b/content/posts/2022-01-28-media-shrinkage.md @@ -53,6 +53,8 @@ in [Chrome][]: ### Notes +* The [minify][] command is a thin wrapper around the excellent + [tdewolff/minify library][tdewolff-minify] for [Go][]. * I also investigated [AVIF][]. Better compression than [WebP][], worse tool and browser support. Will investigate again later. * Convert [PNG][] to lossless [WebP][] with [Imagemagick][]: @@ -61,7 +63,8 @@ in [Chrome][]: `AddOutputFilterByType image/svg+xml` * [Debian][]: Add `image/webp webp` to `/etc/mime.types`. -**Update (2022-01-29):** Added warning about [BREACH][]. +**Update (2022-01-29):** Added warning about [BREACH][] and link to +[tdewolff/minify][tdewolff-minify]. [svg]: https://en.wikipedia.org/wiki/Scalable_Vector_Graphics "Scalable Vector Graphics" @@ -105,3 +108,7 @@ in [Chrome][]: "Apache brotli compression output filter." [dynamic web pages]: https://en.wikipedia.org/wiki/Dynamic_web_page "Dynamically generated web page" +[tdewolff-minify]: https://github.com/tdewolff/minify + "SVG, JavaScript, JSON, HTML, and CSS minification library for Go." +[go]: https://golang.org/ + "Go programming language" |