Unify the API for clearing in-memory cache
Categories
(Core :: DOM: Core & HTML, task)
Tracking
()
People
(Reporter: arai, Assigned: arai)
References
Details
Attachments
(5 files)
As suggested in https://phabricator.services.mozilla.com/D238582#inline-1321062 , we could have a unified API for clearing in-memory cache for various resources (stylesheets, scripts, images), filtering by resource types, principals, etc,
replacing the current ChromeUtils.clearStyleSheetCache*
, ChromeUtils.clearScriptCache*
APIs and possibly some of the imgICache
APIs.
Assignee | ||
Comment 1•23 days ago
|
||
In order to clear cache from ChromeUtils.clearResourceCache with variuos
filtering, imgLoader needs a method that are adaptive to the current process,
where in the parent process, clear all processes' cache,
and in the content process, clear the cache in the process.
Refactored the cache methods based on single static method and single IPC
method, this is also necessary to extend the ChromeUtils.clearResourceCache in
bug 1947158.
Updated•23 days ago
|
Assignee | ||
Comment 2•23 days ago
|
||
Assignee | ||
Comment 3•23 days ago
|
||
Assignee | ||
Comment 4•23 days ago
|
||
Assignee | ||
Comment 5•23 days ago
|
||
Description
•