Bug 144014 - [WK2][NetworkCache] Better account of resource revalidations in efficacy logging
Summary: [WK2][NetworkCache] Better account of resource revalidations in efficacy logging
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-21 14:57 PDT by Chris Dumez
Modified: 2015-04-21 16:21 PDT (History)
4 users (show)

See Also:


Attachments
Patch (10.83 KB, patch)
2015-04-21 15:03 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2015-04-21 14:57:03 PDT
Better account of resource revalidations in efficacy logging. Currently, resources that are in the cache but needs revalidation are counted as retrieval successes, which is not entirely accurate.
We should distinguish "is in the cache and is directly usable" from "is in the cache but needs revalidation". We should also log how many of these revalidations are successful.
Comment 1 Chris Dumez 2015-04-21 15:03:20 PDT
Created attachment 251266 [details]
Patch
Comment 2 Chris Dumez 2015-04-21 16:21:37 PDT
Comment on attachment 251266 [details]
Patch

Clearing flags on attachment: 251266

Committed r183081: <http://trac.webkit.org/changeset/183081>
Comment 3 Chris Dumez 2015-04-21 16:21:42 PDT
All reviewed patches have been landed.  Closing bug.