Re: [dev] suckless too to minify CSS, JS and html

From: Quentin Rameau <>
Date: Fri, 18 May 2018 21:47:00 +0200

> > Don't create pages with 3MB of Javascript, that's insane.
> I agree. My boss, our web designers, and many other people don't, so
> unfortunately I do have to deal with it.

You don't have to deal with it by just accepting it though.

> > I think concatenation/bundling in one file is fine, but not
> > minification, because it makes the source unreadable.
> I'm not really sure if I understand what the harm in that is as such? I
> personally find it useful to have the full source for debugging my
> *own* websites, but I couldn't care less what someone else does with
> their website. Do you ever read the source of random websites?

If you don't understand the concept of having the source code for the
tools you're using, then you don't understand OSS.

> > Carefully evaluate what you actually use in the site. Don't use
> > bloated Javascript (such as jQuery) and CSS frameworks (such as
> > Bootstrap).
> Sometimes using jQuery or Bootstrap makes sense. It really depends on
> what you're building. If you're building a more complex website then
> using jQuery can be perfectly reasonable. For a simpler website with
> little JS? Probably not.

Yes, maybe using jQuery for building crap makes sense.
I'm not sure why you would do such thing though.
Received on Fri May 18 2018 - 21:47:00 CEST

This archive was generated by hypermail 2.3.0 : Fri May 18 2018 - 21:48:19 CEST