View Full Version : How to combine external CSS & Java Scrip

12 Jul 2010, 12:24 AM
I would like to combine external CSS & Java script on my website. Right now, there are 3 external CSS & 8 external Java script. So, How can I do it?

15 Jul 2010, 02:28 PM
Wise move, I'd just recommend that you, just copy the code from one stylesheet to the other, and separate if required with a commented line break.

I suppose the same goes with the JavaScript files.

By doing this you will be reducing the amount of HTTP requests to the server which will improve performance and page load times.

A further technique to reduce the size of these files is to minify them.