Since my latest post about CSS Compressor, I’ve been searching to find the similar one for javascript and I got this YUI Compressor. YUI is javascript library developed by Yahoo and YUI Compressor is one of their experiment. YUI Compressor is written in Java but there is an option to use it online.
You can visit http://www.refresh-sf.com/yui/. In this website, you can paste your javascript code or choose it directly from your computer. There are many options of compressing you can set such as you can choose just minify or obfuscate the file. I tried it with my javascript file and the result is
I got 61% compression ratio. Wow! Beside javascript, you can also compress CSS files here. ^^




kompresor
Mar 12. 2010
Thanks for this article. kompresör
deerawan
Mar 15. 2010
you’re welcome brother. Thank you for visiting deerawan.com
kompresor
Apr 05. 2010
thank you very much for article
Latia Malden
Apr 11. 2010
This is a good summary, I was wondering if I could use this piece of writing on my website, I will link it back to your website though. If this is a problem please let me know and I will take it down right away.
deerawan
Apr 11. 2010
Yes, you can, Latia.