From 6c5262436046d2a299cce23e333a458f11f81a62 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sat, 29 Jan 2022 09:04:38 -0500 Subject: posts/media-shrinkage: add link to tdewolff/minify --- content/posts/2022-01-28-media-shrinkage.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'content/posts') 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" -- cgit v1.2.3