Last modified: 2010-12-04 10:36:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T22204, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20204 - Move inline <script> for jsvars above <link>s for external stylesheets
Move inline <script> for jsvars above <link>s for external stylesheets
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Trevor Parscal
http://en.wikipedia.org/wiki/White_dwarf
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-12 22:18 UTC by Brion Vibber
Modified: 2010-12-04 10:36 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Brion Vibber 2009-08-12 22:18:49 UTC
Per web performance recommendations: inline <script> forces blocking on open stylesheet downloads. It should be safe to move the <script> for the jsvars above the <link>s so it doesn't trigger the blocking.

Probably needs adjustment in multiple skins...
Comment 1 Roan Kattouw 2009-08-13 08:47:22 UTC
(In reply to comment #0)
> Per web performance recommendations: inline <script> forces blocking on open
> stylesheet downloads. It should be safe to move the <script> for the jsvars
> above the <link>s so it doesn't trigger the blocking.
> 
> Probably needs adjustment in multiple skins...
> 
While we're at this: the ySlow documentation says external JavaScript should be the bottom whenever possible (i.e. if they don't depend on being someplace else because they use document.write or something): http://developer.yahoo.com/performance/rules.html#js_bottom
Comment 2 DieBuche 2010-12-04 10:36:43 UTC
done in RL

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links