I noticed with HTTP2 push(using nginx and nghttp2 on linux) that my Polymer 
1.* website renders significant slower. 

After investigation, the HTTP2 push is working beautifully. The individual 
time on the files requested are much shorter, which is great. But, the 
DOMContentLoaded and Load times are much slower.

This makes no sense to me since the times of the requested files are 
shorter. I am guessing this is a issue with Polymer specific because HTTP2 
push is doing what it is supposed to do, and also  it is  DOMContentLoaded 
that is slower. 

Anyone know why? I would really like to resolve this so I can continue to 
use http2 push. Otherwise, it's to slow for user experience. 

Please see the graphs:

Here is http non-push. You can see the time on the files are longer. For 
instance, krunch.png is 150ms. The DOMContentLoaded is 584 ms and Load is 
745 ms

<https://lh3.googleusercontent.com/-E6MTJBJrxho/VrVbPE3DgEI/AAAAAAAAD9A/K9a04jqnWkU/s1600/non-http2push.jpg>

Here is http2 push. The time on the individual files are much shorter. For 
instance, krunch.png is 9ms. However, the DOMContentLoaded is 2.74s and 
Load is 2.75s. The DOMContentLoaded and load is much longer than the normal 
http(non http2 push). 

<https://lh3.googleusercontent.com/-3yc-RRWOvJY/VrVcPQEZAOI/AAAAAAAAD9I/5cAU0Q5DM1w/s1600/http2push.jpg>

These graphs can also be seen on imagur:
http://imgur.com/u3TdzDG
http://imgur.com/d24hSTh

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/859d2526-b076-4106-bf19-89a454ba420d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to