4 ms·
I love manually minifying SVG, JavaScript and HTML to shave off a few bytes here, a few bytes there. I’d really like a tool like gzthermal, but editable and sho
by chrismorgan 9y ago
I love manually minifying SVG, JavaScript and HTML to shave off a few bytes here, a few bytes there. I’d really like a tool like gzthermal, but editable and showing compressed size, so that you can make changes and easily see immediately. Bonus points if it comes with a clever diffing technique so that you can minify parts separately and combine them in the most efficient way.
As it is, I just run something like `watchexec -f "*/the-filename" "gzip -c9 < x | wc -c"` in a terminal and it shows me the size whenever I save the file.
- supermdguy 9y agoHow about gamifying it and creating a web app where anyone can submit an SVG and then users will compete to minimize it as much as possible.