Now Serving: Freshly Compressed Javascript
I finally got around to compressing this site’s JavaScript file last night. I used /packer/ because I know that it supports conditional compilation. I’m a fan of conditional compilation.
It was funny because there were a couple of lines missing semi-colons that I must have looked at a thousand times before last night and just never noticed that they were nekkid like that. JSLint helped me out a lot with making sure the file was ready for packing.
Anyway, between gzipping and compressing it my JS file screams out to the browser at a tidy 2.67 KB (down from an unadulterated 9.41 KB.) There are probably functions in some libraries larger than that…
Go small or go home!