Page MenuHomePhabricator

Cache the template data while processing the templates in source
Closed, ResolvedPublic

Description

The getTargetTemplate method in Templates module is not optimized to reuse the template data we recieved already. This causes too many requests for template information.
For example, watch the network requests while translating https://en.wikipedia.org/wiki/Electronic_cigarette to some language.

Event Timeline

santhosh raised the priority of this task from to High.
santhosh updated the task description. (Show Details)
santhosh added a subscriber: santhosh.

Change 263542 had a related patch set uploaded (by Santhosh):
Templates: Cache the template data requests

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

Change 263542 merged by jenkins-bot:
Templates: Cache the template data requests

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