How much disk the HTTP cache uses
browser_get_cache_usageReport the size of the on-disk HTTP cache (Services.cache2.asyncGetDiskConsumption). Note: this is only the network cache — it does not include IndexedDB, Service Worker caches or storage, which live elsewhere.
Instructions
Report the size of the on-disk HTTP cache (Services.cache2.asyncGetDiskConsumption). Note: this is only the network cache — it does not include IndexedDB, Service Worker caches or storage, which live elsewhere.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||