Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#12305 closed enhancement (fixed)

Update jQuery to 1.4.2

Reported by: xibe's profile xibe Owned by: azaozz's profile 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
14 years ago

  • Priority changed from normal to high

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

#2 @ryan
14 years ago

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

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

#3 @ianatkins
14 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
14 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
14 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
14 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.