WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#12305 closed enhancement (fixed)

Update jQuery to 1.4.2

Reported by: xibe Owned by: azaozz
Milestone: 3.0 Priority: high
Severity: normal Version: 3.0
Component: JavaScript Keywords: needs-patch
Focuses: Cc:

Description

Following up with the jQuery UI upgrade, the jQuery team just updated the framework itself, with some more improvements, most notably performance-wise.

Change History (6)

#1 @Viper007Bond
9 years ago

  • Priority changed from normal to high

It's apparently like twice as fast as 1.4.1. Worth including.

#2 @ryan
9 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [13310]) jQuery 1.4.2. fixes #12305

#3 @ianatkins
9 years ago

Can I recommend linking to the Google ajax hosted version of Jquery. It has proper header compression, reducing the filesize. And as the library is linked elsewhere there is an increased chance that the file will be locally cached.

#4 follow-up: @nacin
9 years ago

Those who run local or intranet installs wouldn't like that so much.

There is a plugin (or five) available that unregisters the default jQuery and registers it with the source pointing to Google.

#5 in reply to: ↑ 4 @ianatkins
9 years ago

Good point. I'm guessing that running WP locally isn't the majority case. Be nice if we served the majority, and perhaps tested for local running, or had a check box in the settings page.

Perhaps this is a debate to be had on the forum..
http://wordpress.org/support/topic/387476

Replying to nacin:

Those who run local or intranet installs wouldn't like that so much.

There is a plugin (or five) available that unregisters the default jQuery and registers it with the source pointing to Google.

#6 @Viper007Bond
9 years ago

I can tell you right now we'd get a small revolt if we switched to Google or Yahoo hosted jQuery due to perceived (or even real) privacy concerns.

Not to mention that WordPress already compresses it itself. It merges all Javascript files together and serves them as one compressed HTTP request. This is much better than serving it off Google or Yahoo.

Note: See TracTickets for help on using tickets.