On Mon, Oct 11, 2010 at 10:06 PM, Matthew Wild wrote:
On 12 October 2010 02:41, David Manura wrote:
Some quick tests here indicate that uglify slightly
increases file size in the presence of gzip...
I'd be interested in sample files that demonstrate this if you have
them. From my own tests running through uglify strips another 1K from
a squished Penlight and slightly aids gzip decompression time.
$ cat /tmp/lua-5.1.4/test/*.lua> test.lua
$ squish --uglify --gzip> /dev/zero&& ls -la test
... 6389 ...
$ squish --gzip> /dev/zero&& ls -la test
... 6244 ...
$ cat /tmp/penlight-0.8/tests/*.lua> test.lua
$ squish --uglify --gzip> /dev/zero&& ls -la test
... 10685 ...
$ squish --gzip> /dev/zero&& ls -la test
... 10461 ...