"Ruby-YUI Compressor"

Need :

Check jquery and jquery min, why we need it and what is the difference ?
Yes , it saves memory and hence load time .

So how to achieve the same in a JAVA or a RUBY app.

Solution:
Yahoo came with a YUI compressor .
Link : http://developer.yahoo.com/yui/compressor/

What it does :
It compresses the JS and CSS
– by removing white spaces
– by replacing the variables with short names etc

Ruby Equivalent
Ruby-YUI Compressor provides a Ruby interface to the YUI Compressor Java library for minifying JavaScript and CSS assets.
Link : https://github.com/sstephenson/ruby-yui-compressor

Advertisements
"Ruby-YUI Compressor"

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s