Page MenuHomePhabricator

Prefetch terms once before rendering article placeholders
Open, MediumPublic

Description

Right now we fetch labels and descriptions one by one by the time they're needed when rendering a placeholder.
Given we know which labels and descriptions are used on a placeholder (assuming the Lua code hasn't been altered to much), we can pre-load these in one step before actually rendering the placeholder.

Pre-loading the labels and descriptions can probably be done with BufferingTermLookup.