localStorage quota has been limited to 5 MB

Published: | Categories: DOM


Previously Web pages with the offline storage enabled can save the own data up to 200 MB. Unfortunately localStorage causes performance issues as it requires synchronous IO. For that reason, the quota has been changed to 5 MB. Also, from now the data in a localStorage will be deleted at the same time user deletes Cookies. You’re recommended to use the IndexedDB async API instead.