diff options
Diffstat (limited to 'content')
-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" |