May I suggest a Javascript Compressor

Discussion in 'JavaScript' started by schmidte, Mar 8, 2010.

  1. #1
    Came across this site the other day when looking for a javascript compressor:
    http://www.bananascript.com

    It's by far one of the best I seen, here's the stats from a file I uploaded:
    Original size 553240 bytes

    Size reduction:
    Percentage: 55.6%
    Bytes: 307457 bytes

    New size: 245783 bytes!

    I don't know how they do it, cause the code looks nothing like the original, but it works!
     
    schmidte, Mar 8, 2010 IP
  2. dimitar christoff

    dimitar christoff Active Member

    Messages:
    882
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    90
    #2
    they use a compression via javascript. if your server supports gzip deflate/inflate, it's going to be _MUCH_ faster at the client end (done as the browser brings it in and detects the content encoding to be gzip).
     
    dimitar christoff, Mar 8, 2010 IP
  3. krsix

    krsix Peon

    Messages:
    435
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    1) This looks like gz or something.

    2) Anything not absolutely huge:

    Size reduction:
    Percentage: 47%
    Bytes: 1538 bytes

    New size: 1734 bytes!
     
    krsix, Mar 9, 2010 IP
  4. BrianM

    BrianM Peon

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I use JS Minifier to reduce the size of my JavaScripts.
     
    BrianM, Mar 12, 2010 IP
  5. sunny61162

    sunny61162 Peon

    Messages:
    102
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    they use a compression via javascript.if your server supports gzip deflate/inflate, it's going to be _MUCH_ faster at the client end (done as the browser brings it in and detects the content encoding to be gzip).
     
    sunny61162, Mar 14, 2010 IP