Don’t agree with this take. Sacrificing the performance for all my users so a minuscule percentage of them can poke around a little easier? All the JavaScript is likely transpiled anyway. They can use dev tools to unminify most of it. Deploying with source maps for production might be a better ask?
Minification Is Evil
31–40 of 93 posts
Re: Minification Is Evil
#32Earlier quoted context omitted.
Doesn't really matter after compression unless the bulk of your code can be culled from the end product. Tbh the largest business value this has is slowing down people trying to use your internal APIs.
Can client/browser choose if to use compression? If so, this is a problem for the website
Re: Minification Is Evil
#33Earlier quoted context omitted.
Doesn't really matter after compression unless the bulk of your code can be culled from the end product. Tbh the largest business value this has is slowing down people trying to use your internal APIs.
It would be nice to have experimentally-derived numbers to point to in order to help people visualize whether or not minification actually improves compression to any significant degree.
At least with jQuery, it seems that minification matters considerably.
Re: Minification Is Evil
#34Not minifying your code is evil from the viewpoint of people who have to wait for your page to load.
Re: Minification Is Evil
#35With GZIP and moreso Brotli the difference in actual data transfer is negligible anyway. Minification doesn't really achieve much other than obfuscation these days.
Re: Minification Is Evil
#36Earlier quoted context omitted.
Not much to read really, it's not even an "article". But I agree, there is not really much point to minification for small or medium websites. Transport compression takes care of file sizes.
Minification is the "feel good" optimization for frontend (ahem, full-stack nowadays) developers that want to feel like they are doing FAANG-level optimizations.
Re: Minification Is Evil
#37Re: Minification Is Evil
#38I don't understand; I'm not going to increase the size of my assets just to please the very small minority of hackers who want to play around. I'd rather open-source my code.
which is actually a security risk
Re: Minification Is Evil
#39Don’t agree with this take. Sacrificing the performance for all my users so a minuscule percentage of them can poke around a little easier? All the JavaScript is likely transpiled anyway. They can use dev tools to unminify most of it. Deploying with source maps for production might be a better ask?
I make up for performance in other ways! Let me know if any part of my website(s) run slow
Re: Minification Is Evil
#40Don’t agree with this take. Sacrificing the performance for all my users so a minuscule percentage of them can poke around a little easier? All the JavaScript is likely transpiled anyway. They can use dev tools to unminify most of it. Deploying with source maps for production might be a better ask?
I'm sure some people here will agree with that sentiment, but for the majority of users it's the better option. And if the goal of the project is for the source to be open then they can host that source somewhere for those who want to tinker, inspect, or build their own binaries.
At some point most web apps will probably be blobs of WASM anyway.