toc
toc copied to clipboard
Reduce client storage requirements using text compression
Compress then encrypt. Should probably try to get #131 working first for easier debugging.
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.
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