Compressing plaintext in JavaScript?
Posted
by
AgileMeansDoAsLittleAsPossible
on Stack Overflow
See other posts from Stack Overflow
or by AgileMeansDoAsLittleAsPossible
Published on 2010-12-22T19:39:14Z
Indexed on
2010/12/22
19:54 UTC
Read the original article
Hit count: 292
JavaScript
|compression
I have a simple Notepad-like web application I'm making for fun. When you save a document, the contents of a <textarea> are sent to the server via Ajax and persisted in a database.
Let's just say for shits and giggles that we need to compress the contents of the <textarea> before sending it because we're on a 2800 baud modem.
Are there JavaScript libraries to do this? How well does plain text compress in the first place?
© Stack Overflow or respective owner