Is it possible to use IndexedDB on a web page to store audio?
Currently trying out the Cache API, but looking for something that can be a little more persistent.
Is it possible to use IndexedDB on a web page to store audio?
Currently trying out the Cache API, but looking for something that can be a little more persistent.
Sure you can, as long as your files don't take more than 10% of the available space on the device's storage or 2GB whatever is smaller, you can store any binary file you wish in IndexedDB.
IndexedDB is not recommended to be used for caching files.
For that purpose you can try to use the FileAPI instead (canIuse).