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

From: Jules Merit <jules.merit.eurocorp.us_AT_gmail.com>
Date: Fri, 18 May 2018 14:04:52 -0700

Plan9 Doom Port id faces of death #missioncomplete
Miles Kilo stoneman
sgi 0xbfc xxx turkey shoot
James Tomaschke CA B550 4567 my id
/ckeen

On Fri, May 18, 2018 at 1:54 PM, Patrick Bucher
<patrick.bucher_AT_mailbox.org> wrote:
> On Fri, May 18, 2018 at 07:38:36PM +0200, Hiltjo Posthuma wrote:
>> On Fri, May 18, 2018 at 05:22:43PM +0100, Martin Tournoij wrote:
>>
>> Don't create pages with 3MB of Javascript, that's insane.
>>
> True
>>
>> I think concatenation/bundling in one file is fine, but not minification,
>> because it makes the source unreadable. Carefully evaluate what you actually
>> use in the site. Don't use bloated Javascript (such as jQuery) and CSS frameworks
>> (such as Bootstrap).
>>
> jQuery looks almost reasonable nowadays, compared to the shitpile that
> comes out of a Angular «Web App».
>>
>> Make sure to "gracefully fallback" so Javascript is not required.
>>
>> One of the latest trends in Javascript bundle compilation. For example have a
>> look at the new Reddit layout. There all the CSS classnames are randomized.
>>
> Must reduce the HTTP payload big time, especially when gzipped M-(
>>
>> Stop this madness.
>>
> Yes, please!
>
> Patrick
>
Received on Fri May 18 2018 - 23:04:52 CEST

This archive was generated by hypermail 2.3.0 : Fri May 18 2018 - 23:12:18 CEST