mratcli...@mozilla.com wrote:
I believe I can clear *all* appcache entries using:
Services.cache.evictEntries(Ci.nsICache.STORE_OFFLINE);
But how the heck do I:
- Clear all entries for a single cache group
- Clear all entries for a string match (e.g. domain)
- Clear a single entry (or by URI)
I have been trying to work this out for a few days now but surely somebody
knows how it can be done, surely it can be done?
Maybe this code can help you:
http://mxr.mozilla.org/comm-central/source/mozilla/browser/components/preferences/advanced.js#478
--
Warning: May contain traces of nuts.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform