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

Issue 2460573002: Disable memory caching of XHRs (Closed)

Created:
4 years, 1 month ago by halliwell
Modified:
4 years, 1 month ago
Reviewers:
dgozman, yhirano
CC:
chromium-reviews, blink-reviews, tyoshino+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable memory caching of XHRs XHRs get removed from memory cache anyway after load finishes (see issue 399166). This change can save significant memory during the fetch for large resources. BUG=659789 Committed: https://crrev.com/e3207a5d277b089f5ea868fa402b8f703bdc830c Cr-Commit-Position: refs/heads/master@{#432502}

Patch Set 1 #

Patch Set 2 : fix content_browsertests #

Patch Set 3 : Use BufferData for sync requests #

Patch Set 4 : Fix inspector empty request test #

Patch Set 5 : reload-from-cache test uses <script> #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -6 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/inspector-protocol/reload-memory-cache.html View 1 2 3 4 1 chunk +2 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 58 (26 generated)
halliwell
PTAL. I wasn't 100% clear from discussion on the bug whether you think this is ...
4 years, 1 month ago (2016-10-27 16:11:17 UTC) #3
yhirano
On 2016/10/27 16:11:17, halliwell wrote: > PTAL. I wasn't 100% clear from discussion on the ...
4 years, 1 month ago (2016-10-28 03:50:46 UTC) #8
halliwell
On 2016/10/28 03:50:46, yhirano wrote: > On 2016/10/27 16:11:17, halliwell wrote: > > PTAL. I ...
4 years, 1 month ago (2016-10-28 03:53:59 UTC) #9
halliwell
On 2016/10/28 03:53:59, halliwell wrote: > On 2016/10/28 03:50:46, yhirano wrote: > > On 2016/10/27 ...
4 years, 1 month ago (2016-10-28 04:33:30 UTC) #10
halliwell
On 2016/10/28 04:33:30, halliwell wrote: > On 2016/10/28 03:53:59, halliwell wrote: > > On 2016/10/28 ...
4 years, 1 month ago (2016-10-28 20:01:02 UTC) #15
halliwell
On 2016/10/28 20:01:02, halliwell wrote: > On 2016/10/28 04:33:30, halliwell wrote: > > On 2016/10/28 ...
4 years, 1 month ago (2016-10-29 00:36:39 UTC) #20
halliwell
On 2016/10/29 00:36:39, halliwell wrote: > On 2016/10/28 20:01:02, halliwell wrote: > > On 2016/10/28 ...
4 years, 1 month ago (2016-10-30 00:27:40 UTC) #21
yhirano
On 2016/10/30 00:27:40, halliwell wrote: > In the meantime I also found that restricting the ...
4 years, 1 month ago (2016-10-31 04:20:31 UTC) #22
yhirano
+dgozman@ for the inspector test failure.
4 years, 1 month ago (2016-10-31 12:46:14 UTC) #24
yhirano
If you want to set DO_NOT_BUFFER_DATA only for async requests, that's OK, but it should ...
4 years, 1 month ago (2016-10-31 12:48:18 UTC) #25
dgozman
On 2016/10/31 12:46:14, yhirano wrote: > +dgozman@ for the inspector test failure. I think that ...
4 years, 1 month ago (2016-10-31 19:39:20 UTC) #26
yhirano
On 2016/10/31 19:39:20, dgozman wrote: > On 2016/10/31 12:46:14, yhirano wrote: > > +dgozman@ for ...
4 years, 1 month ago (2016-11-01 06:20:15 UTC) #27
dgozman
On 2016/11/01 06:20:15, yhirano wrote: > On 2016/10/31 19:39:20, dgozman wrote: > > On 2016/10/31 ...
4 years, 1 month ago (2016-11-01 17:59:01 UTC) #28
halliwell
On 2016/11/01 17:59:01, dgozman wrote: > On 2016/11/01 06:20:15, yhirano wrote: > > On 2016/10/31 ...
4 years, 1 month ago (2016-11-01 19:02:06 UTC) #29
halliwell
On 2016/11/01 19:02:06, halliwell wrote: > On 2016/11/01 17:59:01, dgozman wrote: > > On 2016/11/01 ...
4 years, 1 month ago (2016-11-01 23:01:15 UTC) #30
halliwell
On 2016/11/01 23:01:15, halliwell wrote: > On 2016/11/01 19:02:06, halliwell wrote: > > On 2016/11/01 ...
4 years, 1 month ago (2016-11-01 23:34:11 UTC) #31
dgozman
> > I'm now trying to understand what 'hasContent' means (seems like it conflates > ...
4 years, 1 month ago (2016-11-03 21:29:08 UTC) #32
halliwell
On 2016/11/03 21:29:08, dgozman wrote: > > > I'm now trying to understand what 'hasContent' ...
4 years, 1 month ago (2016-11-05 01:53:31 UTC) #33
yhirano
On 2016/11/05 01:53:31, halliwell wrote: > On 2016/11/03 21:29:08, dgozman wrote: > > > > ...
4 years, 1 month ago (2016-11-09 06:53:30 UTC) #34
dgozman
On 2016/11/09 06:53:30, yhirano wrote: > On 2016/11/05 01:53:31, halliwell wrote: > > On 2016/11/03 ...
4 years, 1 month ago (2016-11-09 19:36:57 UTC) #35
halliwell
On 2016/11/09 19:36:57, dgozman wrote: > On 2016/11/09 06:53:30, yhirano wrote: > > On 2016/11/05 ...
4 years, 1 month ago (2016-11-09 19:41:49 UTC) #36
halliwell
On 2016/11/09 19:41:49, halliwell wrote: > On 2016/11/09 19:36:57, dgozman wrote: > > On 2016/11/09 ...
4 years, 1 month ago (2016-11-11 02:32:16 UTC) #41
dgozman
> (2) http/tests/inspector-protocol/reload-memory-cache.html - description > "Tests that reloads when coming from protocol still use ...
4 years, 1 month ago (2016-11-11 18:02:10 UTC) #42
halliwell
On 2016/11/11 18:02:10, dgozman wrote: > > (2) http/tests/inspector-protocol/reload-memory-cache.html - description > > "Tests that ...
4 years, 1 month ago (2016-11-11 21:06:10 UTC) #43
yhirano
On 2016/11/11 21:06:10, halliwell wrote: > On 2016/11/11 18:02:10, dgozman wrote: > > > (2) ...
4 years, 1 month ago (2016-11-15 06:16:29 UTC) #44
yhirano
OK, I believe https://codereview.chromium.org/2509533002/fixed the problem.
4 years, 1 month ago (2016-11-16 12:24:08 UTC) #49
yhirano
LGTM
4 years, 1 month ago (2016-11-16 12:24:31 UTC) #50
halliwell
On 2016/11/16 12:24:31, yhirano wrote: > LGTM Thank you, yhirano!! dgozman: can you review the ...
4 years, 1 month ago (2016-11-16 14:33:22 UTC) #51
dgozman
lgtm
4 years, 1 month ago (2016-11-16 15:36:54 UTC) #52
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/2460573002/80001
4 years, 1 month ago (2016-11-16 15:52:09 UTC) #54
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-11-16 15:58:31 UTC) #56
commit-bot: I haz the power
4 years, 1 month ago (2016-11-16 16:05:40 UTC) #58
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/e3207a5d277b089f5ea868fa402b8f703bdc830c
Cr-Commit-Position: refs/heads/master@{#432502}

Powered by Google App Engine
This is Rietveld 408576698