Last modified: 2014-03-11 02:05:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53569, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51569 - VisualEditor: Reduce number of load.php on edit (down from 3)
VisualEditor: Reduce number of load.php on edit (down from 3)
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
Technical Debt (Other open bugs)
unspecified
All All
: High enhancement
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks: ve-performance
  Show dependency treegraph
 
Reported: 2013-07-17 19:26 UTC by Krinkle
Modified: 2014-03-11 02:05 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Krinkle 2013-07-17 19:26:13 UTC
On a regular page load:

* http://en.wikipedia.org/wiki/Roadblock_(disambiguation)
* Logged-out (Chromium Incognito mode)

We get this (did a full analysis while I had the data in front of me, but focus on "On Edit":

Top:
 - [core]   load.php?modules=startup
 - [misc]   load.php?modules=.. top queue ...
 - [vector] load.php?modules=ext.vector.footerCleanup (bug 51564)
 * [ve]     load.php?modules=ext.visualEditor.viewPageTarget.init
 - [core]   load.php?modules=site

Bottom:
 - [misc]   load.php?modules=.. bottom queue ...
 - [vector] load.php?modules=ext.vector.collapsibleNav (bug 51564)
 - [misc]   load.php?modules=.. jquery.ui ...
    (dependency of something in the bottom queue, separate cache group)

On Edit:
 * [ve]     load.php?modules=ext.visualEditor.base,mediawiki,viewPageTarget|jquery.visibleText|oojs|unicodejs.wordbreak
 * [ve]     load.php?modules=jquery.byteLength,byteLimit|mediawiki.api.edit|mediawiki.feedback
ext.visualEditor.core,icons-vector|ext.visualEditor.viewPageTarget.icons-vector|rangy
 * [ve]     load.php?modules=ext.visualEditor.specialMessages
 - [ve]     api.php POST action=visualeditor & paction=parse
 - [ve]     api.php?action=query&meta=userinfo

These shouldn't be 3 separate load.php requests. Ideally it'd be 1, but we should at least cut it down to 2. We should figure out why they are split.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links