Todays websites tend to be pretty heavy on the JavaScript side. Although the page itself is rendered at light speed at the server, can multiple HTTP requests to fetch each and every JavaScript and CSS file make the page appear sluggish to the end user.
To prevent this it is vital to reduce the number of HTTP requests required to render the page. To combine and compress multiple JavaScripts into one JavaScript file and multiple CSS files into one style sheet file will improve the end user's perception of the time it takes to display the page.
This library will help you with that. It will also ensure that GZIP capable clients will recieved the compressed files without any additional configuration necessary.