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

Issue 2614403003: Add revalidation_only option to precache config. (Closed)

Created:
3 years, 11 months ago by twifkak
Modified:
3 years, 11 months ago
Reviewers:
bengr
CC:
chromium-reviews, wifiprefetch-reviews_google.com
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add revalidation_only option to precache config. When specified, resources are only fetched over the network if they have an existing cache entry with revalidation headers. This serves as a lower-bound approximation of the efficacy of a client-only wifi precache mechanism, as it is limited to URLs that are only on the client AND in the manifests. BUG=679533 Review-Url: https://codereview.chromium.org/2614403003 Cr-Commit-Position: refs/heads/master@{#442999} Committed: https://chromium.googlesource.com/chromium/src/+/8586921e08baafc1209e66223d0642d6246094b9

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add Fetcher constructor parameter comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -16 lines) Patch
M components/precache/core/precache_fetcher.h View 1 2 chunks +16 lines, -3 lines 0 comments Download
M components/precache/core/precache_fetcher.cc View 5 chunks +11 lines, -5 lines 0 comments Download
M components/precache/core/precache_fetcher_unittest.cc View 6 chunks +76 lines, -8 lines 0 comments Download
M components/precache/core/proto/precache.proto View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
twifkak
Hi Ben - sorry to bother you with this, but Jose is on vacation until ...
3 years, 11 months ago (2017-01-10 00:10:58 UTC) #2
bengr
lgtm modulo comment requests. https://codereview.chromium.org/2614403003/diff/1/components/precache/core/precache_fetcher.h File components/precache/core/precache_fetcher.h (right): https://codereview.chromium.org/2614403003/diff/1/components/precache/core/precache_fetcher.h#newcode303 components/precache/core/precache_fetcher.h:303: bool revalidation_only); Please add a ...
3 years, 11 months ago (2017-01-11 20:08:46 UTC) #7
twifkak
Thanks! Submitting. https://codereview.chromium.org/2614403003/diff/1/components/precache/core/precache_fetcher.h File components/precache/core/precache_fetcher.h (right): https://codereview.chromium.org/2614403003/diff/1/components/precache/core/precache_fetcher.h#newcode303 components/precache/core/precache_fetcher.h:303: bool revalidation_only); On 2017/01/11 20:08:46, bengr wrote: ...
3 years, 11 months ago (2017-01-11 20:40:15 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2614403003/20001
3 years, 11 months ago (2017-01-11 20:41:04 UTC) #11
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 21:58:39 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/8586921e08baafc1209e66223d06...

Powered by Google App Engine
This is Rietveld 408576698