Set duration for caching

Version: 8.0

Sitecore uses caching to reduce the number of requests to resolve Tenant Service Endpoints.

To set the duration of the caching:

  1. On the xConnect server, open the \App_Config\AppSettings.config file.

  2. Set the cacheExpiration parameter to the number of seconds you want for the duration of the cache. For example:

    RequestResponse
    <!-- cache expiration in seconds-->
    <add key="cacheExpiration" value="300" />
    Note

    By default, Sitecore caches values for 300 seconds.

Do you have some feedback for us?

If you have suggestions for improving this article,