Chrome中增加5MB的存储空间限制 [英] Increasing 5MB Storage Limit in Chrome

查看:217
本文介绍了Chrome中增加5MB的存储空间限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个用html5编写的POS应用程序,我们使用localStorage来存储订单和其他信息。

We have a POS app written in html5 and we are using the localStorage to store orders and other info.

我正在经历chrome提供的5MB的限制,并且导致应用程序崩溃。

I am experiencing the limits of the 5MB that chrome offers and it is causing the app to crash.

有没有简单的方法来增加这个限制?

Is there an easy way to increase this limitation?

谢谢

thanks

推荐答案

检查 link ,它讨论了你的问题,它可能会帮助你

Check this link, it discusses your problem and it might help you


db文件路径铬和铬在Windows Vista看起来像...

The db file path for chromium and chrome on windows vista look 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 

这里是要运行的sql语句... p>

Here's the sql statement to run...

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

您可以使用sqlite3命令行工具
运行该命令, http://www.sqlite.org/download.html 。把你想要的任何起源网址放到
给出更多存储空间。

You can run that command using the sqlite3 command line tool available here, http://www.sqlite.org/download.html. Put whatever origin url you'd to give more storage to in there.

这篇关于Chrome中增加5MB的存储空间限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆