Summary: | WebKit may keep outdated entry in the disk cache after a reload | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||
Component: | Page Loading | Assignee: | Chris Dumez <cdumez> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | ap, barraclough, cgarcia, commit-queue, koivisto, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | Other | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=148205 | ||||||||
Attachments: |
|
Description
Chris Dumez
2015-08-18 13:50:20 PDT
Created attachment 259320 [details]
Patch
Comment on attachment 259320 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=259320&action=review r=me > Source/WebKit2/NetworkProcess/cache/NetworkCacheStorage.cpp:519 > // For simplicity we also don't reduce m_approximateSize on removals. > // The next synchronization will update everything. > > + removeFromPendingWriteOperations(key); > + > serialBackgroundIOQueue().dispatch([this, key] { You should also add bloom filter check here. Otherwise every non-cacheable resource generates disk I/O. Created attachment 259373 [details]
Patch
Comment on attachment 259373 [details] Patch Clearing flags on attachment: 259373 Committed r188640: <http://trac.webkit.org/changeset/188640> All reviewed patches have been landed. Closing bug. |