Compress text on server, decompress on client using JavaScript?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Szeged

    #1

    Compress text on server, decompress on client using JavaScript?

    I'm new to JavaScript. I have relatively large amounts of text
    (~200 kB) that I need to transfer to my web application every
    now and then. Using RAR, I get a 5:1 compression ratio on
    these files, for example one of 180 kB is compressed to 34kB.

    Is there some standard way to decompress files in JavaScript?
    If not, what would you do in this case?
  • David Dorward

    #2
    Re: Compress text on server, decompress on client using JavaScript?

    Szeged wrote:
    [color=blue]
    > Is there some standard way to decompress files in JavaScript?
    > If not, what would you do in this case?[/color]



    --
    David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
    Home is where the ~/.bashrc is

    Comment

    Working...