HomePhabricator

Optimize the order of styles and scripts in <head>

Authored by ori.

Description

Optimize the order of styles and scripts in <head>

Emit styles and scripts in the following order:

  • Inline <script>...</script> tags.
  • External stylesheets.
  • External script tags.

I have attempted this before in I98d383a6, and subsequently reverted (in
I151f74a41) when it failed to show a performance improvement. Our ability
to measure performance were substantially poorer then, so I would like to
give this another try and see if it makes a dent in first render times.

Change-Id: I5e6c79c7041aa77bcdc6130e91e77aa538334c42

Details

Committed
oriAug 14 2015, 7:09 PM
Parents
rMW7678bc7a53ff: Update OOjs UI to v0.12.4
Branches
Unknown
Tags
Unknown
References
refs/changes/34/231434/4
ChangeId
I5e6c79c7041aa77bcdc6130e91e77aa538334c42