|
|
DescriptionDo not initiate revalidation of Resource with redirects from MemoryCache
BUG=613971
Committed: https://crrev.com/64ad58e1d8451857f6a763651727c9d39375ea3b
Cr-Commit-Position: refs/heads/master@{#397064}
Patch Set 1 #
Total comments: 2
Messages
Total messages: 21 (8 generated)
Description was changed from ========== Do not revalidate Resource with redirects BUG=613971 ========== to ========== Do not revalidate Resource with redirects BUG=613971 ==========
The CQ bit was checked by hiroshige@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2011283002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2011283002/1
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
hiroshige@chromium.org changed reviewers: + japhet@chromium.org, kinuko@chromium.org, yhirano@chromium.org
PTAL. See the crbug issue for details/background. I want to merge this to beta/stable.
lgtm (looks reasonable to me, but would like to hear Nate's opinion too)
https://codereview.chromium.org/2011283002/diff/1/third_party/WebKit/Source/c... File third_party/WebKit/Source/core/fetch/Resource.cpp (right): https://codereview.chromium.org/2011283002/diff/1/third_party/WebKit/Source/c... third_party/WebKit/Source/core/fetch/Resource.cpp:965: if (!redirectChain().isEmpty()) How does this interact with canReuseRedirectChain()?
https://codereview.chromium.org/2011283002/diff/1/third_party/WebKit/Source/c... File third_party/WebKit/Source/core/fetch/Resource.cpp (right): https://codereview.chromium.org/2011283002/diff/1/third_party/WebKit/Source/c... third_party/WebKit/Source/core/fetch/Resource.cpp:965: if (!redirectChain().isEmpty()) On 2016/05/27 17:00:57, Nate Chapin wrote: > How does this interact with canReuseRedirectChain()? This CL prohibits |Revalidate| for Resource with redirects, but not |Use| for such a Resource. Therefore, canReuseRedirectChain() still can return true for Resource with redirects (meaning "we can |Use|"), while canUseCacheValidator() always returns false (meaning "we cannot |Revalidate|"). In such case, - We can |Use| the Resource without revalidating (when other conditions met). - We can NOT |Revalidate| the Resource, because of Chromium/Blink's implementation. - We can |Reload| the Resource.
lgtm
LGTM, but once this is no longer a pressing issue, can we take a closer look to see if we can remove this restriction?
On 2016/05/31 19:50:48, Nate Chapin wrote: > LGTM, but once this is no longer a pressing issue, can we take a closer look to > see if we can remove this restriction? Yes, I assume this is a shorter term bandaid that gives us more time to think about better longer term solution.
Description was changed from ========== Do not revalidate Resource with redirects BUG=613971 ========== to ========== Do not initiate revalidation of Resource with redirects from MemoryCache BUG=613971 ==========
On 2016/06/01 00:25:19, kinuko wrote: > On 2016/05/31 19:50:48, Nate Chapin wrote: > > LGTM, but once this is no longer a pressing issue, can we take a closer look > to > > see if we can remove this restriction? > > Yes, I assume this is a shorter term bandaid that gives us more time to think > about better longer term solution. Yes. Filed crbug.com/616338.
The CQ bit was checked by hiroshige@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2011283002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2011283002/1
Message was sent while issue was closed.
Description was changed from ========== Do not initiate revalidation of Resource with redirects from MemoryCache BUG=613971 ========== to ========== Do not initiate revalidation of Resource with redirects from MemoryCache BUG=613971 ==========
Message was sent while issue was closed.
Committed patchset #1 (id:1)
Message was sent while issue was closed.
Description was changed from ========== Do not initiate revalidation of Resource with redirects from MemoryCache BUG=613971 ========== to ========== Do not initiate revalidation of Resource with redirects from MemoryCache BUG=613971 Committed: https://crrev.com/64ad58e1d8451857f6a763651727c9d39375ea3b Cr-Commit-Position: refs/heads/master@{#397064} ==========
Message was sent while issue was closed.
Patchset 1 (id:??) landed as https://crrev.com/64ad58e1d8451857f6a763651727c9d39375ea3b Cr-Commit-Position: refs/heads/master@{#397064} |