Online YUI Compressor

By Caroline Liu

The Online YUI Compressor is a fantastic little tool that compresses your CSS and JavaScript files for you. It strips all comments and extraneous whitespace and, if you’d like, it can also obfuscate your JavaScript by renaming your variables where possible to short space-saving single-character names. My files tends to shrink by 50% after running them through the compressor, which saves me a lot of bandwidth in the long run!

The YUI Compressor is an open-source project developed by Yahoo!, so feel free to also download YUI Compressor from GitHub and run it on your local machine.

Fetching comments...