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

Issue 2771803002: FrameFetchContext should not always respect conditional requests (Closed)

Created:
3 years, 9 months ago by Takashi Toyoshima
Modified:
3 years, 8 months ago
Reviewers:
kinuko, Nate Chapin, yhirano
CC:
chromium-reviews, blink-reviews, Yoav Weiss
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

FrameFetchContext should not always respect conditional requests Existing logic respects conditional requests for sub-resources always. But we should respect WebCachePolicy for the frame. This old code might affect history navigation performance badly because it validates cache entries for conditional resources on history navigation. BUG=704431 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2771803002 Cr-Commit-Position: refs/heads/master@{#461685} Committed: https://chromium.googlesource.com/chromium/src/+/c6f5a1533c9beb6bf91b01bcd998f810c0ec98ce

Patch Set 1 #

Total comments: 2

Patch Set 2 : comment update #

Patch Set 3 : tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -9 lines) Patch
M third_party/WebKit/Source/core/loader/FrameFetchContext.cpp View 1 2 3 chunks +19 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp View 1 2 2 chunks +47 lines, -1 line 0 comments Download

Messages

Total messages: 17 (10 generated)
Nate Chapin
LGTM, but please add a unit test if at all possible.
3 years, 8 months ago (2017-03-28 21:39:31 UTC) #7
Nate Chapin
https://codereview.chromium.org/2771803002/diff/1/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp File third_party/WebKit/Source/core/loader/FrameFetchContext.cpp (right): https://codereview.chromium.org/2771803002/diff/1/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp#newcode422 third_party/WebKit/Source/core/loader/FrameFetchContext.cpp:422: request.isConditional()) { Hmm...one other thought. Can this clause be ...
3 years, 8 months ago (2017-03-28 21:45:54 UTC) #8
kinuko
lgtm, I agree with Nate that it might be nice if we merge it in ...
3 years, 8 months ago (2017-03-29 05:54:00 UTC) #9
Takashi Toyoshima
https://codereview.chromium.org/2771803002/diff/1/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp File third_party/WebKit/Source/core/loader/FrameFetchContext.cpp (right): https://codereview.chromium.org/2771803002/diff/1/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp#newcode422 third_party/WebKit/Source/core/loader/FrameFetchContext.cpp:422: request.isConditional()) { Currently, determineWCP requires many parameters to be ...
3 years, 8 months ago (2017-03-29 10:56:17 UTC) #10
Takashi Toyoshima
If there is no objection for the Patch Set 3, I'd submit it.
3 years, 8 months ago (2017-04-03 05:22:00 UTC) #11
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/2771803002/40001
3 years, 8 months ago (2017-04-04 10:44:50 UTC) #14
commit-bot: I haz the power
3 years, 8 months ago (2017-04-04 12:16:45 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/c6f5a1533c9beb6bf91b01bcd998...

Powered by Google App Engine
This is Rietveld 408576698