Page MenuHomePhabricator

Implement caching decorators for EntityLookup
Closed, ResolvedPublic

Description

WikiPageEntityLookup currently implements memc based caching. This should be factored out into a decorator implementation of EntityLookup that does memc caching.

In addition, we need an in-process caching decorator, so we do not have to load the same entity multiple times from memcached if it is e.g. used multiple times for resolving calls to the {{property}} parser function, etc.


Version: unspecified
Severity: normal

Details

Reference
bz45566

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:35 AM
bzimport set Reference to bz45566.
bzimport added a subscriber: Unknown Object (MLST).

Change I8851c14ef: (bug 45566) in-process caching for entities.

Change is merged.

Verified in Wikidata demo sprint 35-2