1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

*very* cool Javascript combiner and minifier

Discussion in 'JavaScript' started by dshuck, Jul 30, 2008.

  1. #1
    Using JQuery and assorted plugins, I was getting the the point where I was including about 10 js files on every request. Due to the limited threading of same-domain requests, this creates an obvious latency (more on that at: http://www.websiteoptimization.com/speed/tweak/suture/ ). I wanted to try to combine all these files into one and found a ridiculously bad ass tool at http://www.scriptalizer.com

    Basically you upload your js files in the order they are in your page and it not only combines them but minifies them too. It shaved almost 60K off of every requests and now, I am only making a single request.

    Just figured I would share!:cool:
     
    dshuck, Jul 30, 2008 IP
  2. websiteideas

    websiteideas Well-Known Member

    Messages:
    1,406
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    130
    #2
    Another thing you can do is use Google's AJAX api and just host your jquery file on google's server.
     
    websiteideas, Aug 9, 2008 IP
  3. asleb

    asleb Peon

    Messages:
    9
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes, I was a little worried about the google script hosting but it works very well :)
     
    asleb, Aug 11, 2008 IP