When you want to clear a disk cache now, you need to do it over all combinations for anonymous/private/inbrowser etc separately. See e.g. CacheStorageEvictHelper::Run. It's not convenient at all. Hence, asyncEvictStorage and asyncVisitStorage methods on nsICacheStorage should be added an optional flag argument expressing what parameters of nsILoadContextInfo the storage you are calling it on should be treated like 'any'. The flags then will be: - DISHONOR_PRIVATE - DISHONOR_ANONYMOUS - DISHONOR_APPID - DISHONOR_INBROWSER and for convenience: - DISHONOR_ALL_BUT_APPID etc.. and could be combined.
Assignee: nobody → honzab.moz
Status: NEW → ASSIGNED
Note: better might be to think of using NeckoOriginAttributes and NeckoOriginAttributesPattern (needs to be introduced) instead of nsILoadContextInfo.
Assignee: honzab.moz → nobody
Status: ASSIGNED → NEW
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.