MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
Fine Tuning Http2
Current time: 07-10-2020, 04:02 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fine Tuning Http2
05-05-2016, 05:05 AM
Post: #1
Fine Tuning Http2
We implemented two new URL parameters which split our combined js/css link to several links:
splitCss=N
splitJs=N
where N is number of chunks.
For example, https://shopbakersnook.com/?splitCss=2
means that there will be two css links (instead of one).

The following link: https://shopbakersnook.com/?splitCss=10&splitJs=10
splits combined link to request each js/css file separately.

We have done some testing today and cannot find any advantage in doing this. Splitting the JS/CSS into separate files (supposed optimizations for HTTP/2) actually hurts a little in Pagespeed and and has higher page load times.

Regarding the "delayCss=1&preload=1". Yes the GooglePagespeed score is good - but check the delayed applying of the css rules in your browser? Plus, overall, it's not loading any faster. I think it's averaging a little slower in overall pageload VS just http://shopbakersnook.com

Understand, "delayCss=1&preload=1" just delays the CSS. So as far as Pagespeed is concerned - the above the fold content is not delayed waiting for the scripts to load and render. The problem is that the content appears before the styling (CSS) and it looks horrible for a split second.

Any Advice would be welcomed on this subject.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Fine Tuning Http2 - brian@shopbakersnook.com - 05-05-2016 05:05 AM
RE: Fine Tuning Http2 - beyondstop - 05-05-2016, 04:38 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)