Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify use cases, requirements and constraints #6

Closed
kinu opened this issue Oct 23, 2014 · 1 comment
Closed

Clarify use cases, requirements and constraints #6

kinu opened this issue Oct 23, 2014 · 1 comment

Comments

@kinu
Copy link
Owner

kinu commented Oct 23, 2014

From TAG review comments on 2014-02-04:

  • Use case: React to space pressure in the environment to delete caches or other unnecessary data
  • Use case: Ensure enough space will be available to store the result of a potentially-expensive computation or download, before performing that computation or download
  • Requirement: Be able to measure the space taken up by various storage artifacts
  • Requirement: Allow applications to choose the relative importance of keeping storage artifacts without regard for their storage medium (i.e. allow keeping important data in IndexedDB or unimportant caches in the filesystem)
  • Requirement: Give apps enough information to notify the user about evicted storage artifacts (e.g. removing the "downloaded" checkmark from a video that was removed in response to space pressure)
  • Constraint: Minimize user interaction ("infobars") except when unavoidable, e.g. for resolving a conflict between space pressure and an app's desire to keep a certain storage artifact inviolate
  • Constraint: Any APIs specified must be flexible enough that it is clear how to extend them to future storage types, e.g. ServiceWorker caches

(TODO: these requirements/constraints should be probably filed as separate issues)

@kinu
Copy link
Owner Author

kinu commented Apr 7, 2015

We're moving to https://github.com/w3c/quota-api/issues, closing some obsolete issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant