Summary: | [SOUP] [WK2] WebProcess and NetworkProcess initialization clears cache contents | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Sergio Villar Senin <svillar> | ||||
Component: | WebKit2 | Assignee: | Sergio Villar Senin <svillar> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | cgarcia, commit-queue, gustavo, mrobinson, pnormand | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Sergio Villar Senin
2014-10-07 09:59:39 PDT
Actually the same happens with the WebProcess initialization. Created attachment 239633 [details]
Patch
I guess resources will never be removed then? if load() is the only one doing that (In reply to comment #3) > I guess resources will never be removed then? if load() is the only one doing that load() is not the one doing that. load() calls soup_cache_entry_insert() which is the one that makes room in the cache if there is not enough disk space to allocate the resource. soup_cache_entry_insert() is called for every single new resource. This means that old resources will be removed at any time once the cache is full. Comment on attachment 239633 [details] Patch Clearing flags on attachment: 239633 Committed r174639: <http://trac.webkit.org/changeset/174639> All reviewed patches have been landed. Closing bug. |