Caching content store - Caching content store - Alfresco - Alfresco Content Connector for Azure - Alfresco/Alfresco-Content-Connector-for-Azure/3.1/Alfresco-Content-Connector-for-Azure/Alfresco-Content-Connector-for-Azure/Configure/Configuring-multiple-storage-containers/Caching-content-store - 3.1

Alfresco Content Connector for Azure

Platform
Alfresco
Product
Alfresco Content Connector for Azure
Release
3.1
ft:lastPublication
2026-05-06T14:44:21.907000
ft:locale
en-US
ArchiveStatus
Archived

The caching content store is defined over the content store selector so that we have one cache for all stores and makes the sample easier to extend when adding more stores.

    <bean id="cachingContentStore"
          class="org.alfresco.repo.content.caching.CachingContentStore"
          init-method="init">
        <property name="backingStore" ref="storeSelectorContentStore"/>
        <property name="cache" ref="contentCache"/>
        <property name="cacheOnInbound" value="true"/>
        <property name="quota" ref="standardQuotaManager"/>
    </bean>

    <bean id="az.contentStoresToClean" class="java.util.ArrayList">
        <constructor-arg>
            <list>
                <ref bean="cachingContentStore" />
            </list>
        </constructor-arg>
    </bean>