Skip to main content
Version: 4.0.4

Distributed caching

All elements with a temporary lifetime, such as access, refresh, identity tokens, or temporary codes, are stored in a Distributed Cache. When they expire, they are removed from the Data Store.

By default, the distributed caching is configured to use an SQL Server database. However, it is also possible to use the NoSQL Key-Value Pair REDIS.

SQL Server

To use SQL Server as a distributed caching, edit the appsettings.json file and modify the following values :

Json PathValue
$.DistributedCacheConfiguration.ConnectionString
$.DistributedCacheConfiguration.TypeSQLSERVER

Redis

To use SQL Server as a distributed caching, edit the appsettings.json file and modify the following values :

Json PathValue
$.DistributedCacheConfiguration.ConnectionString
$.DistributedCacheConfiguration.TypeREDIS