Re:This page is designed to last (2019)
by datagram on Thursday December 23, 2021 @05:38PM
(#29667303)
Decided to try it out using the source for this page as an example, with kangax's HTML minifier (https://kangax.github.io/html-minifier/)
Uncompressed, Unminified: 16,979B Uncompressed, Minified: 16,316B Ccompressed, Unminified: 7676B Compressed, Minified: 7535B
So minifying before compressing saves an extra 141 bytes, but the vast majority of the size savings are from Gzip
Re:This page is designed to last (2019)
by spurgu on Thursday December 23, 2021 @05:25PM
(#29667206)
> Does anybody have empirical evidence on how much minify + gzip saves over just gzip?
https://stackoverflow.com/questions/807119/gzip-versus-minif...
> Well, you don't save much because your web pages should be gzipped before being sent over the network, so preemptively shrinking your content probably doesn't do much to save bandwidth if anything at all.
Does anybody have empirical evidence on how much minify + gzip saves over just gzip?