toc icon indicating copy to clipboard operation
toc copied to clipboard

Reduce client storage requirements using text compression

Open lewisl9029 opened this issue 10 years ago • 2 comments

Compress then encrypt. Should probably try to get #131 working first for easier debugging.

lewisl9029 avatar Aug 06 '15 14:08 lewisl9029

Might need to keep maps of full telehash ids to shorter hashes. Single account mode can also reduce requirements by allowing shorter keys. Also, channelIds are extremely long atm.

lewisl9029 avatar Aug 06 '15 14:08 lewisl9029

Possible candidates: https://github.com/pieroxy/lz-string/ https://github.com/cscott/compressjs

Try benchmarking the faster algorithms in compressjs (probably lzjb-1) against lz-string

lewisl9029 avatar Aug 06 '15 14:08 lewisl9029