我想了解我正在处理的Web应用占用了多少存储空间。更具体地说,我对存储在indexedDB中的数据大小感兴趣。
我知道我可以navigator.storage.estimate()用来获取总值,但是即使有一个空的db,它也会显示超过1 MB的数据,并且我有兴趣专门了解indexedDB的大小。
navigator.storage.estimate()
有没有办法检查尺寸?
browser storage indexeddb
browser ×1
indexeddb ×1
storage ×1