This plugin compresses javascript files and CSS files loaded by the theme or other plugins automatically.
Extra spaces, lines, and comments will be deleted.
The compressor is based on jscsscomp.
Features
Auto-compression for wp_head()
Template tags which provide javascript compression
You can turn on/off compressions in the admin page