Cache is commonly configured in the
Caching section of the appsettings.json file:
|Default or sample value
|Redis configuration. Includes the message channel to use and the number of retries.
ConnectionStrings:RedisConnectionString is not specified.
|The cache entry will expire if it is not accessed for a specified amount of time.
CacheAbsoluteExpiration is not defined.
|The Cache entry will expire after a specified amount of time.
RedisConnectionString is not specified.
CacheAbsoluteExpiration set a sliding or absolute expiration time for all cached application data that does not have a manually configured expiration value.