Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
jQuery 1.4.3 and onwards contains a pretty major performance bug concerning Internet Explorer 7 and 8, which has only recently been fixed in jQuery 1.6.1. Basically it slows down jQuery's combined selectors (for axample, div, p
) by at least factor 10 – see attached screenshot (SlickSpeed was executed on IE7 on VirtualPC running Windows XP). For those developing highly AJAX-ified applications this might be a blocker.
Comment | File | Size | Author |
---|---|---|---|
#4 | drupal-jquery-1294584-4.patch | 152.44 KB | das-peter |
#1 | drupal-jquery-1294584.patch | 152.55 KB | smk-ka |
slickspeed-comparison.png | 84.52 KB | smk-ka |
Comments
Comment #1
smk-ka CreditAttribution: smk-ka commentedThis is a straight backport of John's fix for jQuery 1.4.4.
Comment #3
droplet CreditAttribution: droplet commented2272 ms = 2s. It's very slow. We have patch it or look around our JS sources to get rid of relevant bad code.
Comment #4
das-peter CreditAttribution: das-peter commentedUpdated patch
Comment #5
ajiang CreditAttribution: ajiang commentedThe patch applies correctly in git, so I guess this is ready for port...
Comment #6
David_Rothstein CreditAttribution: David_Rothstein commentedWe can't ship with a patched jQuery like that.
If we wanted to update jQuery in a stable release, it would only be possible with lots of testing and assurance that it won't break existing sites, but that's difficult to do.
Shouldn't people who need a newer version just use https://drupal.org/project/jquery_update?