5 MB storage limit increase in Chrome

We have a POS application written in html5 and we use localStorage to store orders and other information.

I am experiencing the 5MB limitations that chrome offers, and this leads to an application crash.

Is there an easy way to increase this limit?

thanks

+4
source share
2 answers

Check out this link, it will discuss your problem, and this may help you.

The db file path for chrome and chrome in the viewport looks like ...

C:\Users\<username>\AppData\Local\Chromium\User Data\Default\Application Cache\Index C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default\Application Cache 

The sql statement is executed here ...

 insert into Quota values("http://127.0.0.1:8008/", 100000000); 

You can run this command using the sqlite3 command line tool available here http://www.sqlite.org/download.html . Put any source url there is more storage space.

+1
source

No, there is no way to increase 5MB localStorage for each domain. However, you can use IndexedDB to store your data. Read more: IndexedDB and limitations

+1
source

Source: https://habr.com/ru/post/1402404/


All Articles