Page MenuHomePhabricator

Lazy-loading the mediawiki.notification module when mw.notify() is called results in minor, but noticeable delay
Closed, ResolvedPublic

Description

Lazy-loading the mediawiki.notification module when mw.notify() is called results in minor, but noticeable delay.

This is particularly jarring with the AJAX watching functionality; the star stops spinning, nothing happens for a while, and then the notification appears.


Version: 1.22.0
Severity: normal

Details

Reference
bz53990

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:06 AM
bzimport set Reference to bz53990.

Change 113540 had a related patch set uploaded by Bartosz Dziewoński:
Preload mediawiki.notification when we know we're going to need it soon

https://gerrit.wikimedia.org/r/113540

Change 113540 merged by jenkins-bot:
Preload mediawiki.notification when we know we're going to need it soon

https://gerrit.wikimedia.org/r/113540

That should be good enough for me ;)