Open
Description
In some situations / constellations, administrators / users may want to set up a system in which data is not cached or a subset of caches should be set to read-through. We should investigate the various optinos to enable something like this and come up with an approach that would be able to cover most of the requirements.
Requirements / variants to consider:
- administrator wants to set all data caches to read-through with a global flag - note: not all caches can safely be set to "no-op" because Alfresco includes some "improper" caches for service lookup / i18n bundles
- developer wants to set specific caches / all data caches to read-through in a specific code context (need to investigate what Alfresco already uses, e.g. via NodeDAO transaction-level flags)
- administrator wants to set individual cache to a no-op cache via regular cache properties (may support a "null" cache option to use Alfresco's default class
NullCache
class, and replace XML pre-definedNullCache
instances with actual instantiation calls viacacheFactory
and default properties set to "null")