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

Issue 314423004: Handle main resource preload request better (Closed)

Created:
6 years, 6 months ago by maheshkk
Modified:
6 years, 6 months ago
Reviewers:
Nate Chapin
CC:
blink-reviews, gavinp+loader_chromium.org, Inactive
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Handle main resource preload request better Return early from preload request for main resource to avoid spinning up ResourceLoader unnecessarily. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175815

Patch Set 1 #

Total comments: 1

Patch Set 2 : Avoid main resource preload #

Total comments: 1

Patch Set 3 : Update comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M Source/core/fetch/ResourceFetcher.cpp View 1 2 2 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
maheshkk
japhet, My first guess is that we can just return early for preload request of ...
6 years, 6 months ago (2014-06-06 22:31:24 UTC) #1
Nate Chapin
On 2014/06/06 22:31:24, maheshkk wrote: > japhet, My first guess is that we can just ...
6 years, 6 months ago (2014-06-06 22:38:11 UTC) #2
kbalazs
On 2014/06/06 22:38:11, Nate Chapin wrote: > On 2014/06/06 22:31:24, maheshkk wrote: > > japhet, ...
6 years, 6 months ago (2014-06-06 22:53:43 UTC) #3
Nate Chapin
https://codereview.chromium.org/314423004/diff/1/Source/core/fetch/ResourceFetcher.cpp File Source/core/fetch/ResourceFetcher.cpp (right): https://codereview.chromium.org/314423004/diff/1/Source/core/fetch/ResourceFetcher.cpp#newcode678 Source/core/fetch/ResourceFetcher.cpp:678: if (type == Resource::MainResource && request.forPreload()) { Ok. What ...
6 years, 6 months ago (2014-06-06 23:00:01 UTC) #4
maheshkk
On 2014/06/06 23:00:01, Nate Chapin wrote: > https://codereview.chromium.org/314423004/diff/1/Source/core/fetch/ResourceFetcher.cpp > File Source/core/fetch/ResourceFetcher.cpp (right): > > https://codereview.chromium.org/314423004/diff/1/Source/core/fetch/ResourceFetcher.cpp#newcode678 ...
6 years, 6 months ago (2014-06-09 17:50:26 UTC) #5
Nate Chapin
That's a good location for that check, LGTM. Just a nit about the comment. https://codereview.chromium.org/314423004/diff/20001/Source/core/fetch/ResourceFetcher.cpp ...
6 years, 6 months ago (2014-06-09 17:55:00 UTC) #6
Nate Chapin
On 2014/06/09 17:55:00, Nate Chapin wrote: > That's a good location for that check, LGTM. ...
6 years, 6 months ago (2014-06-09 17:55:22 UTC) #7
maheshkk
On 2014/06/09 17:55:22, Nate Chapin wrote: > On 2014/06/09 17:55:00, Nate Chapin wrote: > > ...
6 years, 6 months ago (2014-06-09 18:10:21 UTC) #8
maheshkk
The CQ bit was checked by mahesh.kk@samsung.com
6 years, 6 months ago (2014-06-09 18:10:24 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mahesh.kk@samsung.com/314423004/40001
6 years, 6 months ago (2014-06-09 18:11:23 UTC) #10
Nate Chapin
Thanks again. Sorry for leading you a little astray in the suggestion of putting that ...
6 years, 6 months ago (2014-06-09 18:14:51 UTC) #11
commit-bot: I haz the power
6 years, 6 months ago (2014-06-09 19:21:32 UTC) #12
Message was sent while issue was closed.
Change committed as 175815

Powered by Google App Engine
This is Rietveld 408576698