Re: IndexedDB: Syntax for specifying persistent/temporary storage

Option C) using numeric priority are good enough for most web application.
It has advantage of easy to implement.

Option C) can be combined with option B) by defining that 0 means
temporary, 1 means persistent and undefined means default. Any other values
should throw error.

Since we can query allocated quota and knowing estimated app data
size, persistent will be grantee.

Kyaw

Received on Tuesday, 17 December 2013 22:55:17 UTC