Updating my add-on - is this even possible now?

I’m looking into updating my add-on (Cache Status) and it really had two pieces of functionality: reporting RAM and Disk cache stats as well as an easy “clear cache” process. It used a cache service to gather the stats like so:

var cache_service = Components.classes["@mozilla.org/network/cache-service;1"] .getService(Components.interfaces.nsICacheService);

But is that even possible now, to get the stats of caches through the WebExtension JavaScript API?

I would appreciate any pointers…

Thanks in advance,

Jason

I don’t think there are any APIs that can help you with that. If you’re interested in proposing them, you can start here.