[Webkit-unassigned] [Bug 22700] ApplicationCache should have size limit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 28 08:32:25 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=22700





------- Comment #3 from andreip at google.com  2009-04-28 08:32 PDT -------
Created an attachment (id=29847)
 --> (https://bugs.webkit.org/attachment.cgi?id=29847&action=view)
New proposal to limit the maximum size of the application cache.

In this proposal, the maximum size of the application cache is decided by each
ChromeClient implementation and is enforced using
SQLiteDatabase::setMaximumSize();

When adding new caches or new resources to existing caches, and the database
insertion fails due to reaching the maximum size, the old caches are removed
from the database in LRU fashion. The number of caches to remove is determined
based on an approximation of the space required to be freed in order to
accommodate the new cache.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list