Record metrics to determine if prefreshing would be useful |
|||
Issue descriptionAn example metrics is to record when an entry is looked up but is stale, record how stale it is. This can help us to determine when we should prefresh.
,
May 25 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/1b747469849d13851a4a5e9011a50548a0f45223 commit 1b747469849d13851a4a5e9011a50548a0f45223 Author: jkarlin <jkarlin@chromium.org> Date: Wed May 25 18:52:11 2016 Record cache freshness metric per resource type We're considering prefreshing resources by resource type, so it's necessary to know how the breakdown of freshness periods since last used by resource type. BUG=614355 Review-Url: https://codereview.chromium.org/2009253002 Cr-Commit-Position: refs/heads/master@{#395947} [modify] https://crrev.com/1b747469849d13851a4a5e9011a50548a0f45223/net/http/http_cache_transaction.cc [modify] https://crrev.com/1b747469849d13851a4a5e9011a50548a0f45223/tools/metrics/histograms/histograms.xml
,
Jun 3 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/dc3cb4f7c2ca1f0ade7dcb560a8040ed2d13a695 commit dc3cb4f7c2ca1f0ade7dcb560a8040ed2d13a695 Author: jkarlin <jkarlin@chromium.org> Date: Fri Jun 03 16:12:52 2016 [HttpCache] Record age of validated and updated stale cache entries It would be good to know the correlation between an entry's age and its likelihood to be validated vs updated. This CL adds two new metrics which record the stale entry's age (as a percentage of freshness) when it's validated and when it's updated. BUG=614355 Review-Url: https://codereview.chromium.org/2036123003 Cr-Commit-Position: refs/heads/master@{#397720} [modify] https://crrev.com/dc3cb4f7c2ca1f0ade7dcb560a8040ed2d13a695/net/http/http_cache_transaction.cc [modify] https://crrev.com/dc3cb4f7c2ca1f0ade7dcb560a8040ed2d13a695/net/http/http_cache_transaction.h [modify] https://crrev.com/dc3cb4f7c2ca1f0ade7dcb560a8040ed2d13a695/tools/metrics/histograms/histograms.xml
,
Jul 23 2016
,
Jul 23 2016
|
|||
►
Sign in to add a comment |
|||
Comment 1 by bugdroid1@chromium.org
, May 25 2016