« 開放源碼中的軟體台灣名稱問題 | Home | IRC on Web and then iPhone »
November 8, 2009
Google Closure Compiler
I created a program to send js code to google closure compiler service to see how it performs.
This tool is pretty awesome doing minimization. With ADVANCED_OPTIMIZATIONS, it shrink jquery-1.3.2.min.js from 57254 bytes to 49636 bytes. That is about 7Kb smaller. Amazing result.
No TrackBacks
TrackBack URL: http://gugod.org/mt/mt-tb.cgi/262
It doesn't actually work at that size. If you add enough exports to actually get jQuery working again, the size comes back up to what the minified version was to begin with, because jQuery is already minified about as much as its interface allows :)