[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.javascript

Re: Client Side Data Compression (JavaScript

0ntariokingston

5/7/2015 12:29:00 PM

On Thursday, February 2, 2006 at 11:21:55 AM UTC-5, svaaps wrote:
> Need to transfer large data (Appox 5MB in the form of XML & HTML) from
> Internet Explorer to Web sphere application server. Want to know if
> there is anyway I can compress data (JavaScript or otherwise) before
> sending it to the server as it takes a long time to do this operation.
>
> I am currently using xmlhttp. Sample code below.
> xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
> xmlhttp.open("POST",'http://xyz.com...);
> var vSendXML = vMainXMLDOM.xml;//The size of vSendXML is appox 5 MB
> xmlhttp.send(vSendXML);
>
> Note: From the server to client I am using GZIP for compression and it
> is working pretty good.

www.scriptcompress.com has client side compression methods