[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.javascript

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

0ntariokingston

5/7/2015 12:38:00 PM

On Wednesday, March 29, 2006 at 3:33:13 PM UTC-4, Szeged wrote:
> 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?

No standard way, mostly controlled by a server for headers and stuff. But I did not like this answer so I started making client side decompressors and I even made a website www.scriptcompress.com where people can convert to compressed packed data that any web browser will unpack.