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.
|
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.
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/ |
|||
|
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. |
|||
|
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. |
|||
|