- From: Anne van Kesteren <notifications@github.com>
- Date: Fri, 10 Jul 2020 08:50:00 -0700
- To: whatwg/storage <storage@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 10 July 2020 15:50:12 UTC
In order to give developers a more consistent experience across browsers, while allowing browsers to compress, deduplicate, and otherwise optimize the stored data, we should standardize the upper bound for each storage action and have all browsers enforce that. E.g., the size of `localStorage[key] = value` could be (key's code unit length + value's code unit length) × 2 + 16 bytes of safety padding or some such. (I did not put a lot of thought into this. If we go down this path we'd need to do that.) (See 6 in https://github.com/whatwg/storage/issues/95#issuecomment-656555686 and reply for context.) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/storage/issues/110
Received on Friday, 10 July 2020 15:50:12 UTC