Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(149)

Issue 2013046: Move the style related nodes to top of the head node instead of appending at the end. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 5 months ago by satya3656
Modified:
15 years, 5 months ago
Reviewers:
Paul Lindner, dev, dev-remailer
CC:
cool-shindig-committers_googlegroups.com, gagan.goku, Kuntal Loya
Base URL:
http://svn.apache.org/repos/asf/shindig/trunk/
Visibility:
Public.

Description

[Optimization] Move the style related nodes to top of the head node instead of appending at the end in StyleAdjacencyVisitor. Keeping the link tags before script tags will help in parallelize the resource fetching as the script fetching is blocking.

Patch Set 1 : Uploading Patch #

Total comments: 12

Patch Set 2 : Addressing the comments #

Patch Set 3 : Sync to head(r990766) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -22 lines) Patch
java/gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/StyleAdjacencyVisitor.java View 1 2 2 chunks +15 lines, -6 lines 0 comments Download
java/gadgets/src/test/java/org/apache/shindig/gadgets/rewrite/StyleAdjacencyVisitorTest.java View 1 2 8 chunks +49 lines, -16 lines 0 comments Download

Messages

Total messages: 12
satya3656
15 years, 5 months ago (2010-08-25 09:21:21 UTC) #1
satya3656
Uploading Patch
15 years, 5 months ago (2010-08-25 09:32:08 UTC) #2
gagan.goku
http://codereview.appspot.com/2013046/diff/2001/3002 File java/gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/StyleAdjacencyVisitor.java (right): http://codereview.appspot.com/2013046/diff/2001/3002#newcode71 java/gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/StyleAdjacencyVisitor.java:71: head.insertBefore(currentNode, firstChild); wont this insert the nodes in reverse ...
15 years, 5 months ago (2010-08-25 09:35:44 UTC) #3
satya3656
http://codereview.appspot.com/2013046/diff/2001/3002 File java/gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/StyleAdjacencyVisitor.java (right): http://codereview.appspot.com/2013046/diff/2001/3002#newcode71 java/gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/StyleAdjacencyVisitor.java:71: head.insertBefore(currentNode, firstChild); On 2010/08/25 09:35:44, gagan.goku wrote: > wont ...
15 years, 5 months ago (2010-08-25 09:54:01 UTC) #4
Kuntal Loya
http://codereview.appspot.com/2013046/diff/2001/3002 File java/gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/StyleAdjacencyVisitor.java (right): http://codereview.appspot.com/2013046/diff/2001/3002#newcode44 java/gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/StyleAdjacencyVisitor.java:44: ("stylesheet".equalsIgnoreCase(getAttrib(node, "rel")) || Should this also be && ? ...
15 years, 5 months ago (2010-08-25 12:28:38 UTC) #5
satya3656
http://codereview.appspot.com/2013046/diff/2001/3002 File java/gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/StyleAdjacencyVisitor.java (right): http://codereview.appspot.com/2013046/diff/2001/3002#newcode44 java/gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/StyleAdjacencyVisitor.java:44: ("stylesheet".equalsIgnoreCase(getAttrib(node, "rel")) || On 2010/08/25 12:28:38, Kuntal Loya wrote: ...
15 years, 5 months ago (2010-08-25 12:47:49 UTC) #6
satya3656
Addressing the comments
15 years, 5 months ago (2010-08-25 12:48:17 UTC) #7
gagan.goku
lgtm. You want might to sync this patch to head now that http://codereview.appspot.com/1997041/ has been ...
15 years, 5 months ago (2010-08-25 18:14:26 UTC) #8
satya3656
Sync to head(r990766)
15 years, 5 months ago (2010-08-30 12:02:18 UTC) #9
Paul Lindner
committed.
15 years, 5 months ago (2010-08-30 20:25:03 UTC) #10
gagan.goku
Thanks Paul. -- The only thing missing in life is background music. -- Gagandeep Singh ...
15 years, 5 months ago (2010-08-31 02:58:25 UTC) #11
satya3656
15 years, 5 months ago (2010-08-31 07:07:42 UTC) #12
Thanks Paul

On 31 August 2010 01:55, <lindner@inuus.com> wrote:

> committed.
>
>
>
> http://codereview.appspot.com/2013046/
>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b