So I am writing a web app that needs to store ~40MB of offline data in a offline Web SQL database. It needs to work in Chrome (desktop), Safari (desktop and mobile) and android's browser. Now I know that Web SQL is supported in these browsers and I know since which versions but i need to know how much storage is allowed. Safari desktop supports 500MB of database storage. Safari mobile supports 50MB of database storage.
因此,我正在编写一个web应用程序,需要在离线web SQL数据库中存储约40MB的离线数据。它需要在Chrome(桌面)、Safari(桌面和移动)和android的浏览器中运行。现在我知道Web SQL在这些浏览器中是受支持的,我知道是哪个版本,但是我需要知道允许多少存储空间。Safari桌面支持500MB的数据库存储。Safari移动支持50MB的数据库存储。
However I have spent literally hours searching everywhere to find out what space chrome desktop supports and what the android browser supports but cannot find anything concrete. One place noted a hard 5MB limit for chrome desktop while another quoted a 25MB limit for chrome desktop (without using a chrome extension). One source for android's browser noted a 15MB limit another noted a 5MB limit. Can anyone point me to somewhere that states what the actual hard limits on Web SQL storage are for android and chrome??
然而,我花了几个小时到处搜索,想知道chrome桌面支持什么,android浏览器支持什么,却找不到任何具体的东西。一个地方指出了硬的5MB的限制,而另一个地方引用了25MB的限制的chrome桌面(没有使用chrome扩展)。android浏览器的一个源代码提到了15MB的限制,另一个提到了5MB的限制。有谁能给我指出,对于android和chrome, Web SQL存储的实际硬限制是什么?
1 个解决方案
#1
4
See this link for Google Chrome:
查看谷歌Chrome的链接:
http://code.google.com/chrome/extensions/manifest.html#permissions
http://code.google.com/chrome/extensions/manifest.html权限
Default is 5MB, but you can switch the unlimitedStorage property
默认是5MB,但是可以切换unlimitedStorage属性
Here is another discussion on the same topic:
下面是关于同一主题的另一个讨论:
What Is the Size Limitation of Google Chrome Databases for Google Chrome Apps?
谷歌Chrome应用程序的谷歌Chrome数据库的大小限制是什么?
For Android if found this thread that might be helpful: SQLite database maximum storage capacity
对于Android来说,如果找到这个线程,可能会有帮助:SQLite数据库最大存储容量
#1
4
See this link for Google Chrome:
查看谷歌Chrome的链接:
http://code.google.com/chrome/extensions/manifest.html#permissions
http://code.google.com/chrome/extensions/manifest.html权限
Default is 5MB, but you can switch the unlimitedStorage property
默认是5MB,但是可以切换unlimitedStorage属性
Here is another discussion on the same topic:
下面是关于同一主题的另一个讨论:
What Is the Size Limitation of Google Chrome Databases for Google Chrome Apps?
谷歌Chrome应用程序的谷歌Chrome数据库的大小限制是什么?
For Android if found this thread that might be helpful: SQLite database maximum storage capacity
对于Android来说,如果找到这个线程,可能会有帮助:SQLite数据库最大存储容量