本文介绍了网络SQL存储限制在Chrome浏览器和Android?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我在写一个web应用程序,需要存储〜离线数据的40MB的脱机Web SQL数据库。它需要在浏览器(桌​​面),Safari浏览器(台式和移动)和Android的浏览器工作。现在我知道该Web SQL是支持这些浏览器,我知道因为哪个版本,但我需要知道有多少存储是允许的。 Safari浏览器的桌面支持数据库存储500MB。移动Safari浏览器支持数据库存储50MB。

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.

不过,我已经花了几个小时的时间到处搜寻,希望找出空间铬Desktop支持,什么是Android浏览器的支持,但无法找到任何具体。一个地方提到的硬5MB的限制铬台式机,而另一个引用了25MB的限制铬台式机(不使用Chrome扩展)。一位消息人士对Android的浏览器注意到一个15MB的限制又指出一个5MB的限制。任何人都可以,指出什么是Android和Chrome Web的SQL​​存储实际的硬性限制点我到什么地方?

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??

推荐答案

请参阅此链接,谷歌浏览器:

See this link for Google Chrome:

HTTP://$c$c.google.com/铬/扩展/ manifest.html#权限

默认为5MB,但你可以切换unlimitedStorage属性

Default is 5MB, but you can switch the unlimitedStorage property

下面是关于同一主题的另一个讨论:

Here is another discussion on the same topic:

What是谷歌浏览器数据库的谷歌Chrome浏览器的应用程序的大小限制?

有关Android的,如果发现这个线程可能会有所帮助: SQLite数据库最大存储容量

For Android if found this thread that might be helpful:SQLite database maximum storage capacity

这篇关于网络SQL存储限制在Chrome浏览器和Android?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-16 04:17