-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Matt,
On 3/20/2009 10:34 AM, Matt Brown wrote: > Here are some quick numbers (provided by YSlow) from the home page of this > webapp: > > Without gzip compression on image/png,image/jpeg,image/gif: > 133.1K 12 Images > > With gzip compression: > 1.7K 12 Images Wow, that's incredible. You must have non-compressed PNGs or something. > Seems like my earlier findings were incorrect based on this - surely > gzip is not capable of compressing images to zero byte files :) It's using the new ∞-compressor. It's a new breed of "super-lossy" algorithms. It's practical applications are as yet unknown. > I should > have looked further into the "total size" number reported by Yslow > instead of taking it for granted as being correct. I suspect what you're seeing from Yslow is an aggregate including the text files, etc. Text files, of course, compress /very/ well using gzip and other similar compression algorithms. > Thanks again for pointing this out, I'll likely go ahead and disable > these types from wastefully being recompressed on the server. Yeah, unless you are serving images to mobile devices or some other application where bandwidth is significantly limited, (re-)compressing images is counter-productive: you waste a lot of CPU time getting 0.5% compression ratios for your trouble. Good luck, - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAknD+4oACgkQ9CaO5/Lv0PB/HgCeJ/mMuheNkfWR+qweAJKRiF0x uoIAoLKm85ljimsmYqt1ItGFtbr821QQ =2g1j -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org