I use rather heavy AJAX with a lot of data going from client to server. How to compress data (mostly plain text) before sending it to the server?
And how can I unzip the data on the server side?
jSEND seems to do it EXACTLY. Has anyone ever used it?
Disabled link deleted: led to spam @ jsend.org address page
The jsolait library has a codec that supports the LZW algorithm (among other things, including base64 encoding / decoding). The only thing that makes me hesitate a bit is that this library is no longer supported.
EDIT
I was able to find <a href = "" rel = "nofollow"> a slightly larger implementation of the LZW algorithm in Javascript.
Using LZW Compression :
client site: http://jsfiddle.net/sebastienp/p7kDe/
server site: http://webdevwonders.com/lzw-compression-and-decompression-with-javascript-and-php/