Re:CSSnano
by hawski on Monday September 16, 2024 @09:04AM
(#41555665)
CSS is a high level language used very often as a low level one. The styling doesn't use any "cascading" and everything is repeated all the time. In this context minifying can make a difference. But either way it is not among my favorites.
[ Parent
| on HN ]
Re:CSSnano
by littlestymaar on Monday September 16, 2024 @12:09PM
(#41557547)
Does minifying make any difference if you're gzip-ing it in-flight anyway?
Edit: I mean, in the real world. Obviously in their example gzip does pretty much nothing since there's so little content, which leave very little room for compression.
Re:CSSnano
by mixmastamyk on Monday September 16, 2024 @01:01PM
(#41558097)
Recently tested compressing picocss, one version was 80k or something. gzipd to 16k, +min, 13k. Brotli 13k, +min 10k.
So maybe another thirty percent, probably from removing comments etc, not just whitespace.
Re:CSSnano
by littlestymaar on Tuesday September 17, 2024 @01:47PM
(#41570501)
Thanks.