mevrkg
Last Updated: February 25, 2016
·
347
· originell

How big is my JavaScript gizpped?

Easy to answer that if you are running *nix/OS X or are on Windows and using Cygwin:

gzip -c yourfile.js | wc -c

of course you can hand anything to gzip. Your CSS, HTML, etc. wc -c gives you back the exact bytes.