by qwerty456127 · 7y ago · 0 comments
Nevertheless the kind of minification demonstrated in the example (removing Inkscape bloat) feels really great and actually makes the file more human-readable. This reminds me of HTML files generated by MS Word and other WYSIWG editors which included tons of bloat code that actually harmed rendering (needless to say human readability).
Even in the first world, on a spotty mobile connection every single byte matters, and some of your users are almost always going to be in that situation some of the time.
Think of minifying as "compiling" for the web. A good dev makes their site performant, and doesn't care about generating readable source code for end-users which 99.9% of them don't care about.
If you want to expose the site's source code to the world in a readable format, then just publish it on GitHub as well, which is the audience that might actually care.
Readable plaintext files are for developers on your team. Not for end users of your product.