@alda This is a really good question. It’s going to depend on the project but I think for many CSS and JS files minification+gzip is going to only have minor savings over just gzip and a barely measurable performance impact.

The difference might get even less with brotli.

Would be very interested in seeing somebody test this properly with realistic test cases.

@baldur @alda All the cases I've seen over the years (a couple of folks have tested this) suggested that there is a small additional amount of savings, but it's small enough that it seems highly likely that minification is more often used as an obfuscation and/or "everybody does it" thing, and bandwidth savings are just a surface reason

(Especially considering that those same sites then often proceed to load megabytes of third-party junk and don't even bother optimizing their image compression)

· · Web · 0 · 0 · 9
Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.