Powered By

Powered by Blogger

Selasa, 29 Desember 2009

Minify (Shrink) JavaScript And CSS With Reducisaurus

Reducisaurus is a web service for minifying and serving CSS and JS files, based on Yahoo! YUI Compressor. Sure, there are lots of way of minifying javascript and CSS, but Reducisaurus is probably the easiest to use.


In case you don't know:

Minification is the practice of removing unnecessary characters from code to reduce its size thereby improving load times. When code is minified all comments are removed, as well as unneeded white space characters (space, newline, and tab).



Like I told you, using Reducisaurus for minifying JavaScript and CSS is extremely easy. If you have a JS or CSS file hosted somewhere, simply point Reducisaurus to it and it will output the minified version:

http://reducisaurus.appspot.com/css?url=YOUR_CSS_FILE_URL
http://reducisaurus.appspot.com/js?url=YOUR_JS_FILE_URL


For more info and other ways of using Reducisaurus, see it's home page.

Tidak ada komentar:

Posting Komentar