Lossless compression method to shorten string before base64 encoding to make it shorter?

后端 未结 2 1247
余生分开走
余生分开走 2021-01-04 14:49

just built a small webapp for previewing HTML-documents that generates URL:s containing the HTML (and all inline CSS and Javascript) in base64 encoded data. Problem is, the

2条回答
  •  执笔经年
    2021-01-04 15:09

    Check out this answer. It mentions functions for LZW compression/decompression (via http://jsolait.net/, specifically http://jsolait.net/browser/trunk/jsolait/lib/codecs.js).

提交回复
热议问题