I store multiple large assets in navigator.storage
, to avoid large downloads.
With it, I would like to do the following as well:
- "List" - to show all the saved files
- "Clear cache" - to delete all files saved to
navigator.storage
I could not find a method to perform either.
Alternatives attempted
I have attempted to store the files directory in localStorage
, however, this information can be cleared without the files being removed, and the user ends up with inflated storage use for unknown documents.
from List all `navigator.storage` files / Clear storage cache
No comments:
Post a Comment