slightlyoff / StorageDurability

A Storage Durability API Sketch
Apache License 2.0
7 stars 1 forks source link

Use 2 storages at the same time: durability + temporary #8

Open slorber opened 9 years ago

slorber commented 9 years ago

Hi,

This is related to https://github.com/slightlyoff/StorageDurability/issues/4

To build offline apps, I need the following:

I'm not sure to understand how I'm supposed to do. When requiring storage durability, does it apply to all browser storages, or can we create 2 different kind of storage like I'm trying to achieve?

As far as I understand, requiring durability is global, but there's an event storagepressure that I may listen to trigger myself a storage cleanup, right?

annevk commented 9 years ago

This work moved to https://github.com/whatwg/storage mostly. There's a rough plan for v2 to provide the second bullet point by allowing sites to allocate new storage boxes.

slorber commented 9 years ago

hi

thanks this would be nice ;)