Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#12305 closed enhancement (fixed)

Update jQuery to 1.4.2

Reported by: xibe Owned by: azaozz
Priority: high Milestone: 3.0
Component: JavaScript Version: 3.0
Severity: normal Keywords: needs-patch
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)

  • Priority changed from normal to high

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

comment:2   ryan3 years ago

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

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

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.

comment:4 follow-up: ↓ 5   nacin3 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.

comment:5 in reply to: ↑ 4   ianatkins3 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.

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.