What are some good css and js minimizers for production code? [closed]

YUI Compressor does both JavaScript and CSS. I’m not sure if you can send it a batch of files. You can batch process at YUI Compressor Online (yui.2clics.net), though that version only accepts JavaScript. Another Online YUI Compressor (refresh-sf.com) accepts CSS, too, but doesn’t batch. In terms of comparing the various minifiers, see jQuery : … Read more

What is the best method to reduce the size of my Javascript and CSS files?

In addition to using server side compression, using intelligent coding is the best way to keep bandwidth costs low. You can always use tools like Dean Edward’s Javascript Packer, but for CSS, take the time to learn CSS Shorthand. E.g. use: background: #fff url(image.gif) no-repeat top left; …instead of: background-color: #fff; background-image: url(image.gif); background-repeat: no-repeat; … Read more