dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: One JS file or a few?

  1. #1
    Join Date
    Feb 2004
    Posts
    1,345

    One JS file or a few?

    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!

  2. #2
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222
    I would just keep the one. Why import 12 files at the top of the page.

  3. #3
    Join Date
    Feb 2004
    Posts
    1,345

    No...

    I'm using only two scripts for each page. Sometimes even one...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles