aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2022-01-29 09:04:38 -0500
committerPaul Duncan <pabs@pablotron.org>2022-01-29 09:04:38 -0500
commit6c5262436046d2a299cce23e333a458f11f81a62 (patch)
tree0aa904caeefe92cfe355458b2ff7ceb02a59943c
parent8c333f3c82409a6a29fd7cb92fe78aee154a3bec (diff)
downloadpablotron.org-6c5262436046d2a299cce23e333a458f11f81a62.tar.bz2
pablotron.org-6c5262436046d2a299cce23e333a458f11f81a62.zip
posts/media-shrinkage: add link to tdewolff/minify
-rw-r--r--content/posts/2022-01-28-media-shrinkage.md9
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"