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.
feedback
|
closed as not constructive by Juhana, Mat, tugberk, meo, Perception Apr 14 at 21:44
This question is not a good fit to our Q&A; format. We expect answers to generally involve facts, references, or specific expertise; this question will likely solicit opinion, debate, arguments, polling, or extended discussion. See the FAQ for guidance on how to improve it.
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/ | |||
feedback
|
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. | |||
feedback
|
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. | |||
feedback
|