Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#28545 closed defect (bug) (duplicate)

jQuery in <head>

Reported by: looimaster's profile Looimaster Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.9.1
Component: General Keywords:
Focuses: javascript, performance Cc:

Description

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.

Change History (1)

#1 @ocean90
9 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #22244.

Note: See TracTickets for help on using tickets.