Page MenuHomePhabricator

Split caching logic out of WikiPageEntityLookup
Closed, ResolvedPublic

Description

Currently, WikiPageEntityLookup is implementing the logic for checking any cached content against the current revision in the page table and updating the cache. This logic should be factored out of the base implementation and moved to a decorator.

To allow this, the EntityRevisionLookup interface should get a method getLatestRevisionId( EntityId ), which can be used by a caching decorator to check that a cached entity is still up to date.


Version: unspecified
Severity: normal
Whiteboard: backlog, cleanup

Details

Reference
bz60043

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:53 AM
bzimport set Reference to bz60043.
bzimport added a subscriber: Unknown Object (MLST).