Harry
Harry

Reputation: 54949

What causes the Chrome wants to permanently store large data message?

I'm trying to figure out which storage mechanism causes the

wants to permanently store large data

message on chrome. Is it indexdb, filesystem api, offline storage api or something else? Thanks.

Upvotes: 3

Views: 2866

Answers (1)

Charles Robert Clark
Charles Robert Clark

Reputation: 56

Definitely, the HTML5 Filesystem API will cause this the first time it is invoked from within JavaScript (window.webkitStorageInfo.requestQuota). Subsequently, for the same URL, you will not be prompted unless you have cleared the cache (chrome://settings/cookies).The prompt can be avoided by starting Chrome with the command line option:

--unlimited-storage

However, there are security risks inherent with this. Here is an excellent HTML5 Filesystem tutorial by its author/inventor Eric Bidelman which covers the entire API.

Upvotes: 4

Related Questions