YUI Compressor

YUI Compressor is my favorite tool for native compression JS and CSS.
Keep in mind, that there are 2 stages of compression:

  1. Native compression uses syntax and structure of JavaScript code;
  2. GZip or Deflate compression of HTTP content.

The best practice is to compress JS code during deploy process to testing or live server.

Advertisements

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

%d bloggers like this: