Thanks for that.
I guess my perspective/use-case is the reverse of 'DevGiu’s - I only ever want to load and save pages from the server, and I don’t need/want offline access.
Some more information based on that thread though:
I couldn’t add ${js.window.navigator.storage.estimate()}
to a page to see what it said (the table isn’t running space-lua) but I was able to run this snippet from that thread in a console:
navigator.storage.estimate().then(({ usage, quota }) => {
console.log(`Used: ${(usage / 1024 / 1024).toFixed(2)} MB`);
console.log(`Quota: ${(quota / 1024 / 1024).toFixed(2)} MB`);
console.log(`Usage percentage: ${((usage / quota) * 100).toFixed(2)}%`);
});
On my tablet (with the QuotaExceededErrors) it returned:
Used: 299.55 MB
Quota: 322.19 MB
Usage percentage: 92.97%
And here are some details on my space:
$ find data -iname “*.md” -print | wc -l
2440
$ du -hs data
301M data
Most of the data is binary blobs though.