What is the best, safe and 100% free tool to be used on doing these task? It has been asked for many times but I want to ask those experienced user.

share|improve this question
1  
You're right, it has been asked and answered many times. Why do you want to ask it yet again? – Juhana Apr 14 '12 at 7:55
I'm just confused with these bunch of tools. Sorry for asking it again. Thanks anyway. – fiberOptics Apr 14 '12 at 8:09

closed as not constructive by Juhana, Mat, tugberk, meo, Perception Apr 14 '12 at 21:44

As it currently stands, this question is not a good fit for our Q&A; format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.

3 Answers

up vote 2 down vote accepted

I use Google Closure Tools, it uses Rhino to intepret your code while modifying it to enusre that it still works after minification. Many free tools exists: YUI Compressor, UglifyJS, etc.

UglifyJS is also good as well, try it here http://marijnhaverbeke.nl/uglifyjs

Google Closure Tools: https://developers.google.com/closure/

share|improve this answer

if you google minify there are many online minifiers for js - these basically all do the same thing. In terms of CSS there are similar things that will make the files files smaller. You need to be careful doing this with CSS though as you need to measure maintainability against file size - unless of course you auto minify when releasing to live. You still need to be careful as changing the css could have adverse effects to your site.

share|improve this answer

Try MinifyCSS, it works also for JavaScript -> http://www.minifycss.com/

There are also JSMIN (http://www.crockford.com/javascript/jsmin.html) however it works only for JavaScript.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.