Page MenuHomePhabricator

On VisualEditor load, async pre-load all the TemplateData for the page to make editing templates speedier
Closed, DeclinedPublic8 Estimated Story Points

Description

Right now there's a noticeable delay; we can speed up user experience at the expense of resources.

Details

Reference
bz64772

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:09 AM
bzimport set Reference to bz64772.

Also pre-load the templates configured for the cite tools.

Jdforrester-WMF renamed this task from VisualEditor: On load, async pre-load all the TemplateData for the page to make editing templates speedier to On VisualEditor load, async pre-load all the TemplateData for the page to make editing templates speedier.Dec 2 2014, 9:41 PM
Jdforrester-WMF set Security to None.

I started looking into this and found that MWTransclusionModel#fetchRequestDone actually wants to handle all sorts of data about normalisation and redirects and things which a current ApiResponseCache system (as part of the above link) would not provide (as it's not part of the data.query.pages part of the response). Waiting for @Catrope's input.

Jdforrester-WMF claimed this task.

Slowing down load isn't something we're interested.

I think this is something we could do after the page has finished loading...