Click to See Complete Forum and Search --> : One JS file or a few?


weee
01-23-2005, 09:45 PM
I built a website nd I'm using a .js file for all the script in the website. There's about 12 scripts in the JS file and I would like to know if maybe I should cut the JS file to a few files. Is that better or it doesn't matter at all...

Thanks!

PeOfEo
01-23-2005, 09:47 PM
I would just keep the one. Why import 12 files at the top of the page.

weee
01-23-2005, 09:48 PM
I'm using only two scripts for each page. Sometimes even one...