3 ms·
Thank you! Most of the heavy lifting is done by the lz-string library[0], the compression works well for small text files, sometimes the URL out will be shorter
by willcipriano 6y ago
Thank you! Most of the heavy lifting is done by the lz-string library[0], the compression works well for small text files, sometimes the URL out will be shorter than the input in that case. Things like images work out to be hundreds of URLs unfortunately.
[0]https://pieroxy.net/blog/pages/lz-string/index.html https://pieroxy.net/blog/pages/lz-string/index.html
- jeremiecoullon 6y agoCool! Yeah I tried a pdf and it generated a bunch of URLs ;)