javascript string compression with localStorage

前端 未结 5 1590
感情败类
感情败类 2020-12-23 17:53

I am using localStorage in a project, and it will need to store lots of data, mostly of type int, bool and string. I know that javascript strings are u

5条回答
  •  南笙
    南笙 (楼主)
    2020-12-23 18:21

    Base64 compression for javascript is very well explained at this blog. Implementation is also available here when using entire framework.

提交回复
热议问题