[wp-trac] [WordPress Trac] #28545: jQuery in <head>

WordPress Trac noreply at wordpress.org
Sun Jun 15 18:23:24 UTC 2014


#28545: jQuery in <head>
-------------------------------------+-----------------------------
 Reporter:  Looimaster               |      Owner:
     Type:  defect (bug)             |     Status:  new
 Priority:  normal                   |  Milestone:  Awaiting Review
Component:  General                  |    Version:  3.9.1
 Severity:  normal                   |   Keywords:
  Focuses:  javascript, performance  |
-------------------------------------+-----------------------------
 I'm trying to move jQuery to the bottom of the website but I can't figure
 out how can I do that. While I was looking for a solution I've found the
 information presented below and that's why I'm opening this ticket for
 review:

 {{{
 With scripts, progressive rendering is blocked for all content below the
 script.
 Moving scripts as low in the page as possible means there's more content
 above the script
 that is rendered sooner.
 The second problem caused by scripts is blocking parallel downloads.
 }}}

 Source: http://wpengineer.com/2482/enqueue-bundled-jquery-in-footer/

 Should jQuery be at the bottom of document? All the scripts I'm using are
 in the footer.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28545>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list