Closed lukasgraf closed 8 years ago
Currently, when terms get populated from registry records, those records get fetched on every __call__ of the vocabulary factory.
__call__
It might be desirable to cache those records (and invalidate those caches whenever the p.a.registry record is modified).
Added some proof-of-concept code for caching the used registry records and perform cache invalidation.
(This branch is based on the lg-avoid-term-lists-growth branch, because otherwise all hell breaks loose).
lg-avoid-term-lists-growth
Currently, when terms get populated from registry records, those records get fetched on every
__call__
of the vocabulary factory.It might be desirable to cache those records (and invalidate those caches whenever the p.a.registry record is modified).