Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(525)

Issue 531693003: Add HttpCache.ExternallyConditionalized histogram. (Closed)

Created:
6 years, 3 months ago by Adam Rice
Modified:
6 years, 3 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, gavinp+disk_chromium.org, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add HttpCache.ExternallyConditionalized histogram. When the Blink cache produces conditional requests, the Chrome cache always sends them to the origin server without attempting to serve them from the cache. Add a histogram to find out how common conditional requests from Blink are, and how many are hitting the network even though a usable Chrome cache entry exists. BUG=407968 TEST=manual inspection of about:histograms Committed: https://crrev.com/48391cd8d716af87d70c2a4cf23516892d6748c0 Cr-Commit-Position: refs/heads/master@{#293934}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add MISMATCHED_VALIDATORS option to the enum. #

Total comments: 2

Patch Set 3 : Add empty line. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -0 lines) Patch
M net/http/http_cache_transaction.cc View 1 2 2 chunks +23 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (4 generated)
Adam Rice
6 years, 3 months ago (2014-09-02 08:54:17 UTC) #2
yhirano
On 2014/09/02 08:54:17, Adam Rice wrote: I'm not sure what you mean by "unnecessarily". RequiresValidation ...
6 years, 3 months ago (2014-09-03 06:19:19 UTC) #3
Adam Rice
On 2014/09/03 06:19:19, yhirano wrote: > On 2014/09/02 08:54:17, Adam Rice wrote: > > I'm ...
6 years, 3 months ago (2014-09-03 07:32:02 UTC) #4
yhirano
lgtm
6 years, 3 months ago (2014-09-03 07:42:36 UTC) #5
Adam Rice
+rvargas for net/
6 years, 3 months ago (2014-09-03 07:44:26 UTC) #7
rvargas (doing something else)
https://codereview.chromium.org/531693003/diff/1/net/http/http_cache_transaction.cc File net/http/http_cache_transaction.cc (right): https://codereview.chromium.org/531693003/diff/1/net/http/http_cache_transaction.cc#newcode2240 net/http/http_cache_transaction.cc:2240: UpdateTransactionPattern(PATTERN_NOT_COVERED); The description says that it tells whether the ...
6 years, 3 months ago (2014-09-04 01:45:13 UTC) #8
rvargas (doing something else)
On 2014/09/04 01:45:13, rvargas wrote: > https://codereview.chromium.org/531693003/diff/1/net/http/http_cache_transaction.cc > File net/http/http_cache_transaction.cc (right): > > https://codereview.chromium.org/531693003/diff/1/net/http/http_cache_transaction.cc#newcode2240 > ...
6 years, 3 months ago (2014-09-04 01:47:57 UTC) #9
Adam Rice
The primary objective is just to determine how much Blink revalidations will interfere with our ...
6 years, 3 months ago (2014-09-04 15:19:41 UTC) #10
rvargas (doing something else)
lgtm https://codereview.chromium.org/531693003/diff/20001/net/http/http_cache_transaction.cc File net/http/http_cache_transaction.cc (right): https://codereview.chromium.org/531693003/diff/20001/net/http/http_cache_transaction.cc#newcode2245 net/http/http_cache_transaction.cc:2245: // TODO(ricea): Add CACHE_USABLE_STALE once stale-while-revalidate CL landed. ...
6 years, 3 months ago (2014-09-04 19:33:21 UTC) #11
Adam Rice
+asvitkine for histograms.xml. https://codereview.chromium.org/531693003/diff/20001/net/http/http_cache_transaction.cc File net/http/http_cache_transaction.cc (right): https://codereview.chromium.org/531693003/diff/20001/net/http/http_cache_transaction.cc#newcode2245 net/http/http_cache_transaction.cc:2245: // TODO(ricea): Add CACHE_USABLE_STALE once stale-while-revalidate ...
6 years, 3 months ago (2014-09-05 05:49:30 UTC) #13
Alexei Svitkine (slow)
lgtm
6 years, 3 months ago (2014-09-05 15:25:58 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ricea@chromium.org/531693003/40001
6 years, 3 months ago (2014-09-09 12:52:35 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001) as 3b86857d23506bd46410025199c8e469a5e358ff
6 years, 3 months ago (2014-09-09 13:48:42 UTC) #17
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:53:13 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/48391cd8d716af87d70c2a4cf23516892d6748c0
Cr-Commit-Position: refs/heads/master@{#293934}

Powered by Google App Engine
This is Rietveld 408576698