5 ms·
I think you could use the CacheStorage[0] framework for this, but IIRC it's not got a great size per domain and is limited by a varying amount of 5MB to 100MB d
by codefined 5y ago
I think you could use the CacheStorage[0] framework for this, but IIRC it's not got a great size per domain and is limited by a varying amount of 5MB to 100MB depending on browser.
[0] https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage https://developer.mozilla.org/en-US/docs/Web/API/CacheStorag...
- mynameisash 5y agoIt looks like Firefox may be different in this regard. Chrome[0] and Edge[1] allow `unlimitedStorage` to be specified that removes the 5MB default limit. [0] https://developer.chrome.com/docs/extensions/reference/storage/ https://developer.chrome.com/docs/extensions/reference/stora... [1] https://docs.microsoft.com/en-us/microsoft-edge/extensions-chromium/enterprise/declare-permissions https://docs.microsoft.com/en-us/microsoft-edge/extensions-c...