Descriptionpredictors: Several improvements for redirects database.
This CL aims to improve redirects handling in the ResourcePrefetchPredictor by
considering the URL/host itself along with redirect endpoints (1) and handling
special case when there is no permanent redirect for a host (2).
(1) helps to avoid incorrect predictions in scenario when the URL/host doesn't
have a permanent redirect and the predictor mistakenly uses the fallback to
fetching based on the first main frame url in the redirect chain.
(2) allows to ignore "megamorphic" URLs/hosts. For example, url shorteners.
BUG=631966
Review-Url: https://codereview.chromium.org/2800783002
Cr-Commit-Position: refs/heads/master@{#464103}
Committed: https://chromium.googlesource.com/chromium/src/+/93cb7df1f935461d1b3c5544f0c7efe38097d8d7
Patch Set 1 #
Total comments: 7
Patch Set 2 : Don't keep a lot of redirect endpoints. #
Total comments: 1
Patch Set 3 : Fix unittests. #
Total comments: 4
Patch Set 4 : Comments. #Patch Set 5 : Rebase. #
Dependent Patchsets: Messages
Total messages: 21 (10 generated)
|